From 48f9ce0f1421446e74bf9ee15f25c49b50ce70e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 21 Aug 2010 08:20:21 +0000 Subject: [PATCH] One more fix to namespace stuff. Follow-up r71342. I don't see no reason to not to default to array() instead of null. --- includes/DefaultSettings.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.20.1