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|1> </>;
 * : deactivate MediaWiki’s <tvar|1> </>, <tvar|2> </>, and <tvar|3> </>;
 * : activate MediaWiki’s <tvar|1> </> and set MediaWiki’s <tvar|2> </> 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”.
 * <tvar|1> </> is set to <tvar|value0> </>,
 * : set PHP’s <tvar|diplayErrors></> to <tvar|valueTrue> </>;
 * : set PHP’s <tvar|errorReporting></> to <tvar|value1> </> (all debugging messages);
 * : activate MediaWiki’s <tvar|1> </>;
 * : deactivate MediaWiki’s <tvar|1> </>, <tvar|2> </>, and <tvar|3> </>;
 * : activate MediaWiki’s <tvar|1> </> and set MediaWiki’s <tvar|2> </> 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”.
 * : (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.
 * Example: <tvar|code> </> to ignore setting of <tvar|1> </>.
 * Example: <tvar|code> </> to ignore setting of <tvar|1> </>.