Extension:DebugMode/zh

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

配置参数

 * 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  ;
 * : set PHP’s  to   (all debugging messages);
 * : activate MediaWiki’s ;
 * : deactivate MediaWiki’s,  , and  ;
 * : activate MediaWiki’s  and set MediaWiki’s   to  ;
 * : （未使用）；
 * : all debugging modes are activated, equivalent to.
 * Default value is a reasonable level of debugging, which is  minus.
 * Example:  for “all but no PHP settings”.
 * is set to ,
 * : set PHP’s  to  ;
 * : set PHP’s  to   (all debugging messages);
 * : activate MediaWiki’s ;
 * : deactivate MediaWiki’s,  , and  ;
 * : activate MediaWiki’s  and set MediaWiki’s   to  ;
 * : （未使用）；
 * : all debugging modes are activated, equivalent to.
 * Default value is a reasonable level of debugging, which is  minus.
 * Example:  for “all but no PHP settings”.
 * : （未使用）；
 * : all debugging modes are activated, equivalent to.
 * Default value is a reasonable level of debugging, which is  minus.
 * Example:  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 . 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:  to ignore setting of.
 * Example:  to ignore setting of.

參見

 * The file DevelopmentSettings.php.