Set l18n cache to array in DevelopmentSettings.php
authorAmir Sarabadani <Ladsgroup@gmail.com>
Thu, 8 Aug 2019 10:37:48 +0000 (12:37 +0200)
committerAmir Sarabadani <Ladsgroup@gmail.com>
Tue, 17 Sep 2019 20:52:59 +0000 (22:52 +0200)
Bug: T218207
Change-Id: Ib52d766436f487570b26fde54abfb1ff780c3647

includes/DevelopmentSettings.php

index d93caa7..668de39 100644 (file)
@@ -27,7 +27,7 @@ ini_set( 'display_errors', 1 );
 
 global $wgDevelopmentWarnings, $wgShowExceptionDetails, $wgShowHostnames,
        $wgDebugRawPage, $wgCommandLineMode, $wgDebugLogFile,
-       $wgDBerrorLog, $wgDebugLogGroups;
+       $wgDBerrorLog, $wgDebugLogGroups, $wgLocalisationCacheConf;
 
 // Use of wfWarn() should cause tests to fail
 $wgDevelopmentWarnings = true;
@@ -74,3 +74,6 @@ $wgSQLMode = 'TRADITIONAL';
 
 // Disable legacy javascript globals in CI and for devs (T72470)
 $wgLegacyJavaScriptGlobals = false;
+
+// Localisation Cache to StaticArray (T218207)
+$wgLocalisationCacheConf['store'] = 'array';