X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDevelopmentSettings.php;h=4bf00d02490a29bdf9f2a22a4cc71997595881ac;hb=6b886e25d28ac92dff8d260ba439f77833b2742d;hp=96ed56b94d1e1c21b846220ec1bc2d339360118d;hpb=12ff4dec05ff8bb1a1910bf6745155b93e1912b5;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 ) {