Forum:Random Article From a Category
Is there any way (Or how hard would it be to create a way) to create a link that brings up a random article from a specified category. What I would lke to do is to add a line to the
WARNING! This article is designed to offend. If you are not offended by it, please edit it so that you will be in the future. For an example of how to be offensive, see: HowTo:Get Downs Syndrome
|
template that basically says:
- For Examples on how to be offensive see:
[[%%Random Article From The Intentionally Offensive Category%%]]
without having to manually maintain a choice / option list of all the pages in the category. I think this could have a potential practical application in other categories as well... --Mindsunwound: (F@H) Crotch Drops Man Babies 16:50, 27 April 2006 (UTC)
- Also, how can force a template added to a page to not also add the item to the categories listed in the template??? maybe some sort of
<nocategory>{{%%Template Name%%}}</nocategory>
? --Mindsunwound: (F@H) Crotch Drops Man Babies 16:53, 27 April 2006 (UTC)
- Also, how can force a template added to a page to not also add the item to the categories listed in the template??? maybe some sort of
- Sorry, but either a template adds pages to a category or it doesn't. If you just want the template to be in a category, then put that category link inside <noinclude> tags. --Algorithm 21:31, 27 April 2006 (UTC)
Don't think it can be done. I know Special:Random can fetch articles form a particular namespace, but I don't think it does categories. Does anyone know if you can get it to only return subpages of a certain page? I want a link on Game:Game Online to restore a saved game by jumping to a random GO page. --User:Nintendorulez 18:52, 27 April 2006 (UTC)
http://bugzilla.wikimedia.org/show_bug.cgi?id=510 (and this) --Splaka 02:45, 28 April 2006 (UTC)
- so this is something we should expect to see implemented at some further date? --Mindsunwound: (F@H) Crotch Drops Man Babies 15:12, 1 May 2006 (UTC)