Extension:RandomImagewithinCommons

What can this extension do?
It display a Randomize Image per view

History
released Version 1.0 beta on 2. August 2011

Version 2.0 from 14. June 2012
 * filter Namespace (use only normal Articles (namespace 0))
 * repace all DB Querys with Mediawiki wfGetDB function
 * the extension use the mediawiki own function to calculate the picture

further versions

 * fillup gallerys with random pictures (to create a picturewall)
 * go to Multilanguage
 * Proptet text configurable over Special:AllMessages
 * Check if picture really exist (protect agians [[File:NONEXISTFILE.SAMPLE]] )
 * implement Ignorelist like $wgriwc['blacklist'] = array('x.svg', 'Nuvola kcontrol.gif');

Usage
Set tag

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
use  $wgriwc['size'] = '400px';  to set the default size to 400 pixel. If it not set, it will be displayed in 200 pixel width.