Расширение: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 General Public License 2.0 или позднее |
Скачать | |
|
|
Quarterly downloads | 4 (Ranked 176th) |
Переведите расширение RandomGameUnit, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
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:
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
RandomGameUnit
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'RandomGameUnit' );
- Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Параметры
$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
.
Это расширение включено в следующие пакеты и/или вики-фермы: 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. |