Manual:$wgDebugDumpSql

From Linux Web Expert

<translate> Debug</translate>: $wgDebugDumpSql
Dump SQL queries to debug output
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

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

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.