Extensión:PictureGame
Appearance
Estado de la versión: 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.5.0 |
| MediaWiki | 1.43+ |
| Cambios en la base de datos | Sí |
| Licencia | Licencia Pública General de GNU 2.0 o posterior |
| Descargar | |
|
|
|
|
| Traduce la extensión PictureGame si está disponible en translatewiki.net | |
| Incidentes | Tareas abiertas · Reportar un error |
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 mueve la carpeta
PictureGameextraída a tu directorioextensions/.
Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando: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! |
