Extension:Random In Category

RandomInCategory appears to be an undocumented extension.

Its source code can be found in the svn in the RandomInCategory directory.

File list

 * SpecialRandomincategory.alias.php
 * SpecialRandomincategory.i18n.php
 * SpecialRandomincategory.body.php
 * SpecialRandomincategory.php

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.

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.

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" );

Known issue(s)
If the category has subcategories, only they will be chosen, at no time will the user be forwarded to an article.