/**
* 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 ) {