Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDebugDumpSql and the translation is 44% complete.
Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎русский • ‎日本語
Debug/logging: $wgDebugDumpSql
Dump SQL queries to debug output
Introducido en la versión:pre 1.1.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false


If enabled, all SQL statements are logged to the DBQuery channel and the Barra de herramientas de depuración (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.


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.