Extension:RandomArea

Random Area is an extension written for MediaWiki that allows to display or include a elected number of random elements from a list on a page.

Note: I was inspired by the RandomText extension to wrote this, thanks to Martin Rohrbach

Installation
Download the source, rename it to php and copy it in your extensions folder. Note the extension in your LocalSettings.php like:

Usage
Insert the lines you want to be randomized and enclosed in &lt;randomArea&gt;...&lt;/randomArea&gt; tags, for example:

 Klaus Mark Otto 

Only displays one of the following names {Klaus, Mark, Otto}

You can use this to include patterns or pages





Or you can add some attributes to the element to save a view letters  Klaus Mark Otto  Chooses two of the elements and include them from the given namespace. And is equivalent to 



Development
This extension is written by Thomas Stock

Alternatives

 * RandomInclude
 * RandomText