Extension:PictureGame

MediaWiki extensions manual
PictureGame
Release status: beta
Implementation Special page
Description Allows making picture games
Author(s) Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
Latest version 4.4.0
MediaWiki 1.39+
Database changes Yes
License GNU General Public License 2.0 or later
Download
  • $wgCreatePictureGameThresholds
  • picturegameadmin
Quarterly downloads 3 (Ranked 130th)
Translate the PictureGame extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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

Installation

  • Download and move the extracted PictureGame folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PictureGame
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'PictureGame' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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!