{{Extension
|name      = RandomPages
|status    = beta
|type1     = tag
|author    = Aurelian Oancea
|image     = 
|version   = 0.2
|update    = 21th of March, 2008
|mediawiki = 1.11.0+
|download  = http://www.locknet.ro/files/RandomPages-0.2.zip
|readme    = 
|changelog = 
|description = Adds <tt>&lt;randompages /&gt;</tt> tag
|parameters= limit (int) and namespace (bool)
|rights    = 
|example   = <tt>&lt;randompages limit="150" /&gt;</tt> to limit only to 150 random entries
}}

== Overview ==

License: GPL-v3, see COPYING file for full licencing information

URL: http://www.locknet.ro/projects/mediawiki-random-pages

== Install ==

Unpack the zip file to your MediaWiki extension folder.

Then you can enable the extension in your LocalSettings.php:
<source lang="php">
require_once( "{$IP}/extensions/RandomPages/RandomPages.php" );
</source>

Then go edit a page and use the <tt>&lt;randompages /&gt;</tt> tag.

Installation can be verified through the Special:Version page on the wiki.

== Usage ==

RandomPages adds a new MediaWiki wiki parser tag: <tt>&lt;randompages /&gt;</tt>

Available options:

* ''limit'' int, to control how many links should be fetched randomly from the database, defaults to 150
* ''namespace'' bool, true to restrict only to the global namspace, defaults to false
* ''levels'' int, levels of CSS applyed to each entry, defaluts to 5

  &lt;randompages limit="10" namespace="true" levels="10" /&gt;

Gets 10 random pages from the global namespace with 10 levels of style

== Development ==

http://gitorious.org/projects/randompages

== Feature Requests / Bugs ==

Contact developer at: http://www.locknet.ro/contact

