Extension:PictureGame/ru
From Linux Web Expert
PictureGame Статус релиза: бета |
|
---|---|
Реализация | Служебная страница |
Описание | Allows making picture games |
Автор(ы) | Aaron Wright, Ashish Datta, David Pean, Jack Phoenix |
MediaWiki | 1.39+ |
Лицензия | Лицензия не указана |
Скачать | |
Ежеквартальные загрузки | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Использование общедоступными вики | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Переведите расширение 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
Установка
- <translate> [[<tvar name=2>Special:ExtensionDistributor/PictureGame/ru</tvar>|Download]] and move the extracted <tvar name=name>
PictureGame/ru
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PictureGame%2Fru - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'PictureGame/ru' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Права пользователей
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! |