Extension:PictureGame/ru
![]() Статус релиза: бетаCategory:Beta status extensions/ru |
|
---|---|
Реализация | Служебная страницаCategory:Special page extensions/ru |
Описание | Allows making picture games |
Автор(ы) | Aaron Wright, Ashish Datta, David Pean, Jack Phoenix |
Последняя версия | 4.5.0 |
MediaWiki | 1.43+Category:Extensions with manual MediaWiki version/ru |
Изменения в БД | Да |
Лицензия | GNU General Public License 2.0 или позднее |
Скачать | Category:Extensions in Wikimedia version control/ru |
|
|
|
|
Переведите расширение PictureGame, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
PictureGame extension allows users to create picture games and take them.
Special:PictureGameHome is the main page for picture games.
See Help:Extension:PictureGame for more information on how to use this extension.
Dependencies
- New database tables: picturegame_images and picturegame_votes
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
PictureGame
в вашей папкеextensions/
.
Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PictureGame
- Добавьте следующий код в конце вашего файла LocalSettings.php :
wfLoadExtension( 'PictureGame' );
- Выполните скрипт обновления, который автоматически создаст необходимые таблицы, используемые расширением.
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Права пользователей
This extension adds one new user right, picturegameadmin
, which allows administering picture games.
By default sysops and staff have this user right.
User points
Название | Описание |
---|---|
$wgUserStatsPointValues['picturegame_created'] |
set this to something to give out points for creating new picture games. |
$wgUserStatsPointValues['picturegame_vote'] |
set this to something to give out points for voting in existing picture games. |
Параметры
Название | Описание |
---|---|
$wgCreatePictureGameThresholds |
for example 'edits' => 5 if you want to require users to have at least 5 edits before they can create new picture games. Defaults to an empty array (no restrictions). |
$wgPictureGameID |
this is the internal ID number of the current picture game and is used by PictureGame internally. It's documented here only for the sake of completeness. Do not set it! |
Category:All extensions/ru
Category:Beta status extensions/ru
Category:Extensions in Wikimedia version control/ru
Category:Extensions with manual MediaWiki version/ru
Category:GPL licensed extensions/ru
Category:LoadExtensionSchemaUpdates extensions/ru
Category:SkinTemplateNavigation::Universal extensions/ru
Category:Social tools/ru
Category:Special page extensions/ru