Extension:Randomrootpage

Random Root Page is an extension written for MediaWiki that allows to display of a random root page. The regular Special:Random is not suitable for wikis (such as Wikibooks) which use a subpage hierarchy. This extension can be used as a substitute (so, for example, it can be used to show "random books" in Wikibooks, instead of random pages).

Installation
Download the source from SVN, and save the files in a folder named Randomrootpage under your extensions folder. Then add a line to your LocalSettings.php like: