Extension:RandomGameUnit

RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the &lt;randomgameunit&gt; tag.

Requirements

 * 1) SocialProfile extension
 * 2) PictureGame extension
 * 3) PollNY extension
 * 4) QuizGame extension

Installation

 * 1) Download the extension files
 * 2) Add require_once("$IP/extensions/RandomGameUnit/RandomGameUnit.php"); into the wiki's LocalSettings.php
 * 3) Installation can now be verified through the wiki's Special:Version

Parameters

 * $wgRandomGameDisplay &mdash; controls what games are enabled.
 * $wgRandomGameDisplay['random_poll'] &mdash; display a random poll. Defaults to true.
 * $wgRandomGameDisplay['random_quiz'] &mdash; display a random quiz. Defaults to true.
 * $wgRandomGameDisplay['random_picturegame'] &mdash; display a random picture game. Defaults to true</tt>.
 * $wgRandomImageSize</tt> &mdash; width (in pixels) for game images. Defaults to 50</tt>.