Расширение:PictureGame

From mediawiki.org
This page is a translated version of the page Extension:PictureGame and the translation is 13% complete.
Справка по расширениям MediaWiki
PictureGame
Статус релиза: бета
Реализация Служебная страница
Описание Allows making picture games
Автор(ы) Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
Последняя версия 3.3 (2015-11-21)
MediaWiki 1.39+
Изменения в БД Да
Лицензия GNU General Public License 2.0 или позднее
Скачать
  • $wgCreatePictureGameThresholds
Ежеквартальные загрузки 9 (Ranked 150th)
Переведите расширение PictureGame, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

PictureGame extension allows users to create picture games and take them.

Special:PictureGameHome is the main page for picture games.

Dependencies

  • New database tables: picturegame_images and picturegame_votes

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием PictureGame в вашей папке extensions/.
  • Добавьте следующий код в конце вашего файла LocalSettings.php :
    wfLoadExtension( 'PictureGame' );
    
  • Выполните скрипт обновления, который автоматически создаст необходимые таблицы, используемые расширением.
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

User rights

This extension adds one new user right, picturegameadmin, which allows administering picture games. By default sysops and staff have this user right.

User points

Name Описание
$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.

Parameters

Name Description
$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!