Extension:PictureGame/ru

Category:GPL licensed extensions/ru
Справка по расширениям MediaWiki
PictureGame
Статус релиза: бета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
  • $wgCreatePictureGameThresholds
  • picturegameadmin
Переведите расширение PictureGame, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке
Category:All extensions/ru

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' );
    
  • Выполните скрипт обновления, который автоматически создаст необходимые таблицы, используемые расширением.
  • Yes Готово – Перейдите на страницу 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:Social tools/ru
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