Other parameters: Difference between revisions

Content added Content deleted
(Debug level 6 does not exist.)
No edit summary
Line 305: Line 305:


<code>debug=<i>n</i></code>, where ''n'' is one of:
<code>debug=<i>n</i></code>, where ''n'' is one of:
* ''0'' &mdash; silent mode, shows nothing
* ''0'' &mdash; Silent mode, shows nothing
* ''1'' &mdash; quiet mode, shows (fatal) errors
* ''1'' &mdash; Quiet mode, shows (fatal) errors
* ''2'' &mdash; default mode, like 1 + shows warnings; &mdash; '''(default)'''
* ''2'' &mdash; Default mode, like 1 + shows warnings; &mdash; '''(default)'''
* ''3'' &mdash; verbose mode, like 2 + shows SQL query.
* ''3'' &mdash; Verbose mode, like 2
* ''4'' &mdash; for internal use only
* ''4'' &mdash; Dump raw SQL Query; only if $wgDebugDumpSql is set to true.
* ''5'' &mdash; show Wiki text output from DPL instead of parsed wiki text
* ''5'' &mdash; Show wiki text output from DPL instead of parsed wiki text.


'''If you use debug param but not in first position in the DPL element, the new debug settings are not applied before all previous parameters have been parsed and checked.''' This will generate a warning for <code>debug=2</code> and above.
'''If you use debug param but not in first position in the DPL element, the new debug settings are not applied before all previous parameters have been parsed and checked.''' This will generate a warning for <code>debug=2</code> and above.