X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FDevelopmentSettings.php;h=4bf00d02490a29bdf9f2a22a4cc71997595881ac;hb=fc0c1623c86d85d3b2b86c4b9d86bd119144e367;hp=8b32de4f64d6b866364a34f69fe28d509f10fb33;hpb=ac8d0d9bcda4cf8132e088af2f847c026b9fe1ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DevelopmentSettings.php b/includes/DevelopmentSettings.php index 8b32de4f64..4bf00d0249 100644 --- a/includes/DevelopmentSettings.php +++ b/includes/DevelopmentSettings.php @@ -25,8 +25,8 @@ ini_set( 'display_errors', 1 ); * Debugging: MediaWiki */ global $wgDevelopmentWarnings, $wgShowExceptionDetails, $wgShowHostnames, - $wgDebugRawPage, $wgDebugComments, $wgDebugDumpSql, $wgDebugTimestamps, - $wgCommandLineMode, $wgDebugLogFile, $wgDBerrorLog, $wgDebugLogGroups; + $wgDebugRawPage, $wgSQLMode, $wgCommandLineMode, $wgDebugLogFile, + $wgDBerrorLog, $wgDebugLogGroups; // Use of wfWarn() should cause tests to fail $wgDevelopmentWarnings = true; @@ -36,6 +36,9 @@ $wgShowExceptionDetails = true; $wgShowHostnames = true; $wgDebugRawPage = true; // T49960 +// Enable MariaDB/MySQL strict mode +$wgSQLMode = 'TRADITIONAL'; + // Enable log files $logDir = getenv( 'MW_LOG_DIR' ); if ( $logDir ) {