Extension:RandomGameUnit
Release status: stableCategory:Stable extensions |
|
|---|---|
| Implementation | Parser extensionCategory:Parser extensions |
| Description | Displays a randomly chosen picture game, poll or a quiz |
| Author(s) | Aaron Wright, David Pean, Jack Phoenix |
| Latest version | 2.7 (2020-05-24) |
| MediaWiki | 1.43+Category:Extensions with manual MediaWiki version |
|
|
| Licence | GNU General Public License 2.0 or later |
| Download | Category:Extensions in Wikimedia version control |
| 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
Along with one or more of the following extensions:
Installation
- Download and move the extracted
RandomGameUnitfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RandomGameUnit
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'RandomGameUnit' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Parameters
$wgRandomGameDisplay— controls what games are enabled.$wgRandomGameDisplay['random_poll']— display a random poll. Defaults totrue.$wgRandomGameDisplay['random_quiz']— display a random quiz. Defaults totrue.$wgRandomGameDisplay['random_picturegame']— display a random picture game. Defaults totrue.
$wgRandomImageSize— width (in pixels) for game images. Defaults to50.
Category:All extensions
Category:Extensions in Wikimedia version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:ParserFirstCallInit extensions
Category:Parser extensions
Category:Social tools
Category:Stable extensions
