Jump to content

Manual:$wgDebugDumpSql

From mediawiki.org
Debug: $wgDebugDumpSql
Dump SQL queries to debug output
Introduced in version:Before 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 rdbms channel (Syslog/Monolog level DEBUG) and the Debugging toolbar (if also enabled). By default, the rdbms 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.