r71391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71390‎ | r71391 | r71392 >
Date:08:20, 21 August 2010
Author:nikerabbit
Status:resolved
Tags:
Comment:
One more fix to namespace stuff. Follow-up r71342.

I don't see no reason to not to default to array() instead of null.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1509,6 +1509,13 @@
15101510 $wgLocalMessageCacheSerialized = true;
15111511
15121512 /**
 1513+ * Instead of caching everything, keep track which messages are requested and
 1514+ * load only most used messages. This only makes sense if there is lots of
 1515+ * interface messages customised in the wiki (like hundreds in many languages).
 1516+ */
 1517+$wgAdaptiveMessageCache = false;
 1518+
 1519+/**
15131520 * Localisation cache configuration. Associative array with keys:
15141521 * class: The class to use. May be overridden by extensions.
15151522 *
@@ -2312,7 +2319,7 @@
23132320 # 102 => "Aide",
23142321 # 103 => "Discussion_Aide"
23152322 # );
2316 -$wgExtraNamespaces = null;
 2323+$wgExtraNamespaces = array();
23172324
23182325 /**
23192326 * Namespace aliases

Follow-up revisions

RevisionCommit summaryAuthorDate
r71410Revert part of r71391 that was not supposed to go yet.nikerabbit16:04, 21 August 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71342Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNames...nikerabbit10:25, 20 August 2010

Status & tagging log