Extension:Randomrootpage

The Random Root Page extension allows to display of a random root page.

The regular Special:Random is not suitable for wikis (such as b>b:|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).

Starting with MediaWiki version 1.27, this functionality is moved into MediaWiki core and this extension must be removed.

Installation
Download the extension and save the files in a folder named Randomrootpage under your extensions folder.

Then add a line to  like: