RandomGameUnit
extension displays a randomly chosen picture game, poll or a quiz through the
<
randomgameunit
>
tag.
Requirements
[
edit
]
Along with one or more of the following extensions:
Installation
[
edit
]
- Download
and move the extracted
RandomGameUnit
folder to your
extensions/
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
[
edit
]
$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
.
| This extension is included in the following wiki farms/hosts and/or packages:
This is not an authoritative list.
Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.
Always check with your wiki farms/hosts or bundle to confirm.
|
|
---|
SocialProfile
| |
---|
other social extensions
| dependent on SocialProfile
| |
---|
other related extensions
(independent of SocialProfile)
| |
---|
|
---|