Extensión:PictureGame

This page is a translated version of the page Extension:PictureGame and the translation is 30% complete.
Manual de extensiones de MediaWiki
PictureGame
Estado de lanzamiento: beta
Implementación Página especial
Descripción Allows making picture games
Autor(es) Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
Última versión 4.4.0
MediaWiki 1.43+
Cambios de la base de datos
Licencia GNU Licencia Pública general 2.0 o posterior
Descarga
  • $wgCreatePictureGameThresholds
  • picturegameadmin
Descargas trimestrales 1 (Ranked 135th)
Traduce la extensión PictureGame si está disponible en translatewiki.net
Asuntos Tareas abiertas · Reportar un 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.


Dependencias

  • New database tables: picturegame_images and picturegame_votes

Instalación

  • Descarga y extrae los archivos en un directorio denominado «PictureGame» dentro de la carpeta 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
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'PictureGame' );
    
  • Ejecuta la secuencia de actualización, que creará automáticamente las tablas de la base de datos que necesita esta extensión.
  •   Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Derechos de usuario

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

User points

Nombre 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.

Parámetros

Nombre 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!