X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDevelopmentSettings.php;h=4bf00d02490a29bdf9f2a22a4cc71997595881ac;hb=25ee9366b06a44087e8f0cba1f2b27324259ef52;hp=96ed56b94d1e1c21b846220ec1bc2d339360118d;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DevelopmentSettings.php b/includes/DevelopmentSettings.php index 96ed56b94d..4bf00d0249 100644 --- a/includes/DevelopmentSettings.php +++ b/includes/DevelopmentSettings.php @@ -24,20 +24,21 @@ ini_set( 'display_errors', 1 ); /** * Debugging: MediaWiki */ -global $wgDevelopmentWarnings, $wgShowDBErrorBacktrace, $wgShowExceptionDetails, - $wgShowSQLErrors, $wgDebugRawPage, - $wgDebugComments, $wgDebugDumpSql, $wgDebugTimestamps, - $wgCommandLineMode, $wgDebugLogFile, $wgDBerrorLog, $wgDebugLogGroups; +global $wgDevelopmentWarnings, $wgShowExceptionDetails, $wgShowHostnames, + $wgDebugRawPage, $wgSQLMode, $wgCommandLineMode, $wgDebugLogFile, + $wgDBerrorLog, $wgDebugLogGroups; // Use of wfWarn() should cause tests to fail $wgDevelopmentWarnings = true; // Enable showing of errors -$wgShowDBErrorBacktrace = true; $wgShowExceptionDetails = true; -$wgShowSQLErrors = true; +$wgShowHostnames = true; $wgDebugRawPage = true; // T49960 +// Enable MariaDB/MySQL strict mode +$wgSQLMode = 'TRADITIONAL'; + // Enable log files $logDir = getenv( 'MW_LOG_DIR' ); if ( $logDir ) {