Phabricator project: #RandomGameUnit
Extension:RandomGameUnit
Jump to navigation
Jump to search
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.4 (2016-04-01) | ||
MediaWiki | 1.32+ | ||
License | GNU General Public License 2.0 or later | ||
Download | |||
Example | Development/Testing wiki on Wikimedia Labs | ||
|
|||
|
|||
Translate the RandomGameUnit extension if it is available at translatewiki.net | |||
Check usage and version matrix. | |||
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 place the file(s) in a directory called
RandomGameUnit
in yourextensions/
folder.
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'RandomGameUnit' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Parameters
— controls what games are enabled.$wgRandomGameDisplay
— display a random poll. Defaults to$wgRandomGameDisplay['random_poll']
true
.
— display a random quiz. Defaults to$wgRandomGameDisplay['random_quiz']
true
.
— display a random picture game. Defaults to$wgRandomGameDisplay['random_picturegame']
true
.
— width (in pixels) for game images. Defaults to$wgRandomImageSize
50
.
|