Manual:$wgDebugDumpSql/ru

Подробнее
If enabled, all SQL statements are logged to the  channel and the  (if also enabled). By default, the  channel log messages go to debug log destination as specified by.

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

Примечания
From MediaWiki 1.0 to 1.6 this setting was not defined in, although it may still have been available for use within MediaWiki.