Extension:DebugMode

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

Configuration parameters

 * Level of debugging. Can be set to   to enable all debugging or   to do nothing.
 * Level of debugging. Can be set to   to enable all debugging or   to do nothing.

Except in this mode, the following MediaWiki’s parameters are activated:
 * Can be set using named constants in the DebugMode class, using bitwise operators:
 * : the extension does nothing, equivalent to  ;
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 *   is set to  ,
 * : set PHP’s  to <tvar|valueTrue> </>;
 * : set PHP’s <tvar|errorReporting></> to <tvar|value1> </> (all debugging messages);
 * : activate MediaWiki’s <tvar|wgShowDebug> </>;
 * : deactivate MediaWiki’s <tvar|wgCachePages> </>, <tvar|wgDeprecationReleaseLimit> </>, and <tvar|wgEnableParserCache> </>;
 * : activate MediaWiki’s <tvar|wgResourceLoaderDebug> </> and set MediaWiki’s <tvar|wgResourceLoaderMaxage> </> to <tvar|value1> </>;
 * : (unused);
 * : all debugging modes are activated, equivalent to <tvar|valueTrue> </>.
 * Default value is a reasonable level of debugging, which is <tvar|modeAll> </> minus <tvar|modeVerbose> </>.
 * Example: <tvar|code> </> for “all but no PHP settings”.


 * An array of variables that should be ignored by the extension. Can be used for more fine-tuning of variables than allowed by <tvar|DebugMode> </>.  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.
 * An array of variables that should be ignored by the extension. Can be used for more fine-tuning of variables than allowed by <tvar|DebugMode> </>.  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: <tvar|code> </> to ignore setting of <tvar|wgDebugAPI> </>.