Manual:$wgDebugDumpSql

From MediaWiki.org
Jump to navigation Jump to search
Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎русский • ‎日本語
Debug/logging: $wgDebugDumpSql
Dump SQL queries to debug output
Introduced in version:pre 1.1.0
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details[edit]

If enabled, all SQL statements are logged to the DBQuery channel and the Debugging toolbar (if also enabled). By default, the DBQuery channel log messages go to debug log destination as specified by $wgDebugLogFile .

If $wgDebugComments is true, the Sql queries are dumped to the html output.

Notes[edit]

From MediaWiki 1.0 to 1.6 this setting was not defined in DefaultSettings.php , although it may still have been available for use within MediaWiki.