Extensión:PictureGame

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:PictureGame and the translation is 21% complete.

Other languages:
English • ‎español • ‎polski • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
PictureGame
Release status: beta
Implementación Special page
Descripción Allows making picture games
Autor(es) Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
Última versión 3.3 (2015-11-21)
MediaWiki 1.32+
Cambios de la base de datos
Licencia GNU General Public License 2.0 or later
Descarga
Ejemplo Development/Testing wiki on Wikimedia Labs
Parámetros
  • $wgCreatePictureGameThresholds
  • $wgPictureGameID
Derechos añadidos
picturegameadmin
Hooks que usa
SkinTemplateNavigation::SpecialPage
LoadExtensionSchemaUpdates
RenameUserSQL
Translate the PictureGame extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.
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.

Dependencias

Instalación

  • Descarga y extrae los archivos en el directorio «PictureGame» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    wfLoadExtension( 'PictureGame' );
    
  • Ejecuta el script de actualización, que creará automáticamente las tablas que necesita esta extensión en la base de datos.
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia 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

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.

Parámetros

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!