Extension:Randomrootpage

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎日本語 • ‎polski • ‎русский • ‎sicilianu • ‎中文
MediaWiki extensions manual
Crystal Clear action run.png
Random Root Page

Release status: stable

Implementation Special page
Description Special page which fetches a random root page
Author(s) Hojjat, Sam Reed
Latest version 1.1 (2008-08-26)
MediaWiki 1.10+
Database changes No
License GNU General Public License 2.0 or later
Download

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

Check usage and version matrix; code metrics

Issues:

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.

Installation[edit]

Download the extension and save the files in a folder named Randomrootpage under your extensions folder. Then add a line to LocalSettings.phpManual:LocalSettings.php like:

require_once("$IP/extensions/Randomrootpage/Randomrootpage.php");

See also[edit]