Extension:DebugMode/pl

This page is a translated version of the page Extension:DebugMode and the translation is 3% complete.
Podręcznik rozszerzeń MediaWiki
DebugMode
Status wydania: niewspierane
Realizacja Interfejs użytkownika
Opis Puts wiki into debug mode
Autor(zy) Ike Hecht (Tosfosdyskusja)
Ostatnia wersja 0.1.0 (2014-10-28)
MediaWiki 1.23
PHP 5.3
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 lub późniejsza
Pobieranie
  • $wgDebugMode
  • $wgDebugModeIgnoreVars
Quarterly downloads 0
Przetłumacz rozszerzenie DebugMode jeżeli jest dostępne na translatewiki.net

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

Installation

  • Pobierz i umieść plik(i) w katalogu o nazwie DebugMode w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DebugMode
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    require_once "$IP/extensions/DebugMode/DebugMode.php";
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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 .

Zobacz też