From: Tim Starling Date: Mon, 30 Apr 2007 12:06:46 +0000 (+0000) Subject: Added $wgNamespaceAliases, has been used in Language.php for some time, but missing... X-Git-Tag: 1.31.0-rc.0~53168 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=f5b24acc05bb5f238b2faeeb040f128603fef932;p=lhc%2Fweb%2Fwiklou.git Added $wgNamespaceAliases, has been used in Language.php for some time, but missing from here. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index dad160f129..35189151b3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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.