Extension:DebugMode/de-formal

This page is a translated version of the page Extension:DebugMode and the translation is 7% complete.
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
DebugMode
Release status: unmaintained
Implementation User interface
Description Puts wiki into debug mode
Author(s) Ike Hecht (TosfosDiskussion)
Latest version 0.1.0 (2014-10-28)
MediaWiki 1.23
PHP 5.3
Database changes No
License GNU General Public License 2.0 or later
Download
  • $wgDebugMode
  • $wgDebugModeIgnoreVars
Translate the DebugMode extension if it is available at translatewiki.net

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

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens DebugMode im Ordner extensions/ ablegen.
  • Folgenden Code am Ende Ihrer LocalSettings.php hinzufügen:
    require_once "$IP/extensions/DebugMode/DebugMode.php";
    
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

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 .

Siehe auch