Extension:RandomGameUnit
![]() リリースの状態: 安定 |
|
---|---|
実装 | パーサー拡張機能 |
説明 | Displays a randomly chosen picture game, poll or a quiz |
作者 | Aaron Wright, David Pean, Jack Phoenix |
最新バージョン | 2.7 (2020-05-24) |
MediaWiki | 1.39+ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
Quarterly downloads | 2 (Ranked 165th) |
translatewiki.net で翻訳を利用できる場合は、RandomGameUnit 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the <randomgameunit>
tag.
要件
Along with one or more of the following extensions:
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のRandomGameUnit
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'RandomGameUnit' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
パラメーター
$wgRandomGameDisplay
— controls what games are enabled.$wgRandomGameDisplay['random_poll']
— display a random poll. 既定値はtrue
です。$wgRandomGameDisplay['random_quiz']
— display a random quiz. 既定値はtrue
です。$wgRandomGameDisplay['random_picturegame']
— display a random picture game. 既定値はtrue
です。
$wgRandomImageSize
— width (in pixels) for game images. 既定値は50
です。
この拡張機能は以下のパッケージ/ウィキファームに含まれています: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |