From: Niklas Laxström Date: Sat, 21 Aug 2010 08:20:21 +0000 (+0000) Subject: One more fix to namespace stuff. Follow-up r71342. X-Git-Tag: 1.31.0-rc.0~35414 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=48f9ce0f1421446e74bf9ee15f25c49b50ce70e7;p=lhc%2Fweb%2Fwiklou.git One more fix to namespace stuff. Follow-up r71342. I don't see no reason to not to default to array() instead of null. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0913c7df7a..7898429872 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1508,6 +1508,13 @@ $wgUseLocalMessageCache = false; */ $wgLocalMessageCacheSerialized = true; +/** + * Instead of caching everything, keep track which messages are requested and + * load only most used messages. This only makes sense if there is lots of + * interface messages customised in the wiki (like hundreds in many languages). + */ +$wgAdaptiveMessageCache = false; + /** * Localisation cache configuration. Associative array with keys: * class: The class to use. May be overridden by extensions. @@ -2312,7 +2319,7 @@ $wgMetaNamespaceTalk = false; # 102 => "Aide", # 103 => "Discussion_Aide" # ); -$wgExtraNamespaces = null; +$wgExtraNamespaces = array(); /** * Namespace aliases