X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDevelopmentSettings.php;h=4bf00d02490a29bdf9f2a22a4cc71997595881ac;hb=cb79b0207e1d1fa37c224cecaef771c97e86c631;hp=8b32de4f64d6b866364a34f69fe28d509f10fb33;hpb=15f6eff90c305d405fe4331c8a8dc8caa842e5b3;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 ) {