From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Random Root Page

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Special page which fetches a random root page
Author(s)Template:Extension#username Hojjat, Sam Reed
Latest versionTemplate:Extension#version 1.1 (2008-08-26)
MediaWikiTemplate:Extension#mediawiki 1.10+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later

Translate the Randomrootpage extension if it is available at translatewiki.net

Check usage and version matrix.


Open tasks · Report a bug

The Random Root Page extension 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).

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


  • Download and place the file(s) in a directory called Randomrootpage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/Randomrootpage/Randomrootpage.php";
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Other languages:
Deutsch • ‎English • ‎español • ‎日本語 • ‎polski • ‎русский • ‎sicilianu • ‎中文