Extension:Randomrootpage

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

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 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 • ‎中文