Extension:RandomGameUnit
![]() Release status: stable |
|
---|---|
Implementation | Parser extension |
Description | Displays a randomly chosen picture game, poll or a quiz |
Author(s) | Aaron Wright David Pean Jack Phoenix |
Latest version | 2.0 |
MediaWiki | 1.16+ |
License | GNU General Public License 2.0 or later |
Download | |
$wgRandomGameDisplay $wgRandomImageSize |
|
Quarterly downloads | 0 |
Translate the RandomGameUnit extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the <randomgameunit> tag.
Requirements
- SocialProfile extension
- PictureGame extension
- PollNY extension
- QuizGame extension
Installation
- Download the extension files
- Add require_once("$IP/extensions/RandomGameUnit/RandomGameUnit.php"); into the wiki's LocalSettings.php
- Installation can now be verified through the wiki's Special:Version
Parameters
- $wgRandomGameDisplay — controls what games are enabled.
- $wgRandomGameDisplay['random_poll'] — display a random poll. Defaults to true.
- $wgRandomGameDisplay['random_quiz'] — display a random quiz. Defaults to true.
- $wgRandomGameDisplay['random_picturegame'] — display a random picture game. Defaults to true.
- $wgRandomImageSize — width (in pixels) for game images. Defaults to 50.