Added $wgNamespaceAliases, has been used in Language.php for some time, but missing...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 30 Apr 2007 12:06:46 +0000 (12:06 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 30 Apr 2007 12:06:46 +0000 (12:06 +0000)
includes/DefaultSettings.php

index dad160f..3518915 100644 (file)
@@ -1890,6 +1890,22 @@ $wgFeedDiffCutoff = 32768;
 #            );
 $wgExtraNamespaces = NULL;
 
+/**
+ * Namespace aliases
+ * These are alternate names for the primary localised namespace names, which 
+ * are defined by $wgExtraNamespaces and the language file. If a page is 
+ * requested with such a prefix, the request will be redirected to the primary 
+ * name. 
+ *
+ * Set this to a map from namespace names to IDs.
+ * Example:
+ *    $wgNamespaceAliases = array( 
+ *        'Wikipedian' => NS_USER,
+ *        'Help' => 100,
+ *    );
+ */
+$wgNamespaceAliases = array();
+
 /**
  * Limit images on image description pages to a user-selectable limit. In order
  * to reduce disk usage, limits can only be selected from a list.