One more fix to namespace stuff. Follow-up r71342.
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 21 Aug 2010 08:20:21 +0000 (08:20 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 21 Aug 2010 08:20:21 +0000 (08:20 +0000)
I don't see no reason to not to default to array() instead of null.

includes/DefaultSettings.php

index 0913c7d..7898429 100644 (file)
@@ -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