Extension:RandomInCategory
|
RandomInCategory Release status: experimental |
|
|---|---|
| Implementation | Special page |
| Description | special page to direct the user to a random page in specified category |
| Author(s) | VasilievVVTalk |
| Last version | r40488 (2008-09-05 16:09:21 +0200 (Fri, 05 Sep 2008)) |
| License | GPLv2 or later |
| Download | Download snapshot Subversion [Help] |
|
Check usage (experimental) |
|
RandomInCategory appears to be an undocumented extension.
Its source code can be found in the svn in the RandomInCategory directory.
Contents |
[edit] File list
- SpecialRandomincategory.alias.php
- SpecialRandomincategory.i18n.php
- SpecialRandomincategory.body.php
- SpecialRandomincategory.php
[edit] Info
According to the php file it is a "special page to direct the user to a random page in specified category" created by VasilievVV vasilvv @ gmail.com , based on SpecialRandompage.php code, and licensed under GNU General Public Licence 2.0 or later.
Its name in the software is 'Random in category', and the last changed date in the svn is 2008-09-05 16:09:21 +0200 (Fri, 05 Sep 2008), while the last changed svn revision is r40488.
[edit] Category selection
Very similarly to Special:Random, you can specify a category name as a parameter to the page. Thus, Special:RandomInCategory/Foo will get you a page from the "Foo" category.
[edit] Set-up
Uncompress the downloaded tarball into your extensions directory, and add the following to your LocalSettings.php
require_once( "$IP/extensions/RandomInCategory/RandomInCategory.php" );
[edit] Known issue(s)
If the category has subcategories, only they will be chosen, at no time will the user be forwarded to an article.