Debug: $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

If enabled, all SQL statements are logged to the DBQuery channel (Syslog/Monolog level DEBUG) 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

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.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.