Extension:AdvancedRandom

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎日本語 • ‎sicilianu
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
AdvancedRandom

Release status:Extension status experimental

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Get a random page from any namespace, the talk or subjectpage of which links to a given page.
Author(s)Template:Extension#username Ævar Arnfjörð Bjarmasontalk
Latest versionTemplate:Extension#version 0.2
MediaWikiTemplate:Extension#mediawiki 1.14+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download Template:WikimediaDownload/svn

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

Check usage and version matrix.

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

Usage[edit]

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]

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");