Extension:AdvancedRandom

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
AdvancedRandom

Release status: experimental

Implementation Special page
Description Get a random page from any namespace, the talk or subjectpage of which links to a given page.
Author(s) Ævar Arnfjörð Bjarmasontalk
Latest version 0.2
MediaWiki 1.14+
Database changes No
License GPLv2
Download Template:WikimediaDownload/svn

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

Check usage and version matrix; code metrics

Get a random page from any namespace, the talk or subjectpage of which links to a given page.

Useag[edit | edit source]

Can be used like [[Special:AdvancedRandom/Template:Featured/Talk]] to get a random featured article talk, or like [[Special:AdvancedRandom/Template:GFDL/Image]] to get a random GFDL file.

Installing[edit | edit source]

Copy the files into a subfolder of the extensions folder of your MediaWiki installation, named AdvancedRandom in the samples, below. Then add the following lines to your LocalSettings.php file (near the top):

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