* 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;
$wgShowHostnames = true;
$wgDebugRawPage = true; // T49960
+// Enable MariaDB/MySQL strict mode
+$wgSQLMode = 'TRADITIONAL';
+
// Enable log files
$logDir = getenv( 'MW_LOG_DIR' );
if ( $logDir ) {