Extension:Random Pages
From MediaWiki.org
|
Release status: beta |
|||
|---|---|---|---|
| Implementation | Tag | ||
| Description | Adds <randompages /> tag | ||
| Author(s) | Aurelian Oancea | ||
| Last Version | 0.2 (21th of March, 2008) | ||
| MediaWiki | 1.11.0+ | ||
| License | No license specified | ||
| Download | http://www.locknet.ro/files/RandomPages-0.2.zip <randompages limit="150" /> to limit only to 150 random entries |
||
| Example | Hindupedia, the Hindu Encyclopedia | ||
|
|||
|
check usage (experimental) |
|||
Contents |
[edit] Overview
License: GPL-v3, see COPYING file for full licencing information
URL: http://www.locknet.ro/projects/mediawiki-random-pages
[edit] Install
Unpack the zip file to your MediaWiki extension folder.
Then you can enable the extension in your LocalSettings.php:
require_once( "{$IP}/extensions/RandomPages/RandomPages.php" );
Then go edit a page and use the <randompages /> tag.
Installation can be verified through the Special:Version page on the wiki.
[edit] Usage
RandomPages adds a new MediaWiki wiki parser tag: <randompages />
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
<randompages limit="10" namespace="true" levels="10" />
Gets 10 random pages from the global namespace with 10 levels of style
[edit] Development
http://gitorious.org/projects/randompages
[edit] Feature Requests / Bugs
- Contact developer at: http://www.locknet.ro/contact