Jump to content

Extension:PictureGame/pl

From mediawiki.org
This page is a translated version of the page Extension:PictureGame and the translation is 4% complete.
Podręcznik rozszerzeń MediaWiki
PictureGame
Status wydania: beta
Realizacja Strona specjalna
Opis Allows making picture games
Autor(zy) Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
Ostatnia wersja 4.4.0
MediaWiki 1.39+
Zmiany w bazie danych Tak
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
  • $wgCreatePictureGameThresholds
  • picturegameadmin
Quarterly downloads 3 (Ranked 128th)
Przetłumacz rozszerzenie PictureGame jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie PictureGame w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PictureGame
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'PictureGame' );
    
  • Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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