Extension:DebugMode/es

This page is a translated version of the page Extension:DebugMode and the translation is 3% complete.
Manual de extensiones de MediaWiki
OOjs UI icon advanced-invert.svg
DebugMode
Estado de lanzamiento: sin mantenimiento
Implementación Interfaz de usuario
Descripción Puts wiki into debug mode
Autor(es) Ike Hecht (Tosfosdiscusión)
Última versión 0.1.0 (2014-10-28)
MediaWiki 1.23
PHP 5.3
Cambios de la base de datos No
Licencia GNU Licencia Pública general 2.0 o posterior
Descarga
  • $wgDebugMode
  • $wgDebugModeIgnoreVars
Quarterly downloads 2 (Ranked 170th)
Traduce la extensión DebugMode si está disponible en translatewiki.net

The DebugMode extension puts the wiki into debug mode, which means all MediaWiki debugging parameters are switched on.

Instalación

  • Descarga y extrae los archivos en un directorio denominado «DebugMode» dentro de la carpeta extensions/.
  • Añade el siguiente código en la parte final de tu LocalSettings.php :
    require_once "$IP/extensions/DebugMode/DebugMode.php";
    
  •   Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Configuration parameters

$wgDebugMode
Level of debugging. Can be set to true to enable all debugging or false to do nothing.
Setting to false does not turn debugging off! It just leaves the existing settings alone.
Can be set using named constants in the DebugMode class, using bitwise operators:
Default value is a reasonable level of debugging, which is DebugMode::DEBUG_MODE_ALL minus DebugMode::DEBUG_MODE_VERBOSE.
Example: DebugMode::DEBUG_MODE_ALL ^ DebugMode::DEBUG_MODE_INI ^ DebugMode::DEBUG_MODE_PHP for “all but no PHP settings”.
$wgDebugModeIgnoreVars
An array of variables that should be ignored by the extension. Can be used for more fine-tuning of variables than allowed by $wgDebugMode. These vars can be any named variables known to the extension, including MediaWiki globals and PHP settings. Default is an empty array, nothing is ignored.
Example: array( 'wgDebugAPI' ) to ignore setting of $wgDebugAPI .

See also