/**
* Debugging for MediaWiki
*/
+
global $wgDevelopmentWarnings, $wgShowExceptionDetails, $wgShowHostnames,
- $wgDebugRawPage, $wgSQLMode, $wgCommandLineMode, $wgDebugLogFile,
+ $wgDebugRawPage, $wgCommandLineMode, $wgDebugLogFile,
$wgDBerrorLog, $wgDebugLogGroups;
// Use of wfWarn() should cause tests to fail
$wgShowHostnames = true;
$wgDebugRawPage = true; // T49960
-// Enable MariaDB/MySQL strict mode
-$wgSQLMode = 'TRADITIONAL';
-
// Enable log files
$logDir = getenv( 'MW_LOG_DIR' );
if ( $logDir ) {
}
unset( $logDir );
+/**
+ * Make testing possible (or easier)
+ */
+
+global $wgRateLimits;
+
// Disable rate-limiting to allow integration tests to run unthrottled
// in CI and for devs locally (T225796)
$wgRateLimits = [];
+/**
+ * Experimental changes that may later become the default.
+ * (Must reference a Phabricator ticket)
+ */
+
+global $wgSQLMode, $wgLegacyJavaScriptGlobals;
+
+// Enable MariaDB/MySQL strict mode (T108255)
+$wgSQLMode = 'TRADITIONAL';
+
// Disable legacy javascript globals in CI and for devs (T72470)
$wgLegacyJavaScriptGlobals = false;