Other parameters: Difference between revisions

Content added Content deleted
No edit summary
(Debug level 6 does not exist.)
Line 311: Line 311:
* ''4'' — for internal use only
* ''4'' — for internal use only
* ''5'' — show Wiki text output from DPL instead of parsed wiki text
* ''5'' — show Wiki text output from DPL instead of parsed wiki text
* ''6'' — show SQL query but DO NOT EXECUTE the query.


'''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.
Line 330: Line 329:


'debug=1' will suppress warning messages (e.g. if the result set of a DPL query is empty). As an alternative, you can use the <tt>[[suppresserrors]]</tt> statement.
'debug=1' will suppress warning messages (e.g. if the result set of a DPL query is empty). As an alternative, you can use the <tt>[[suppresserrors]]</tt> statement.



===execandexit===
===execandexit===