Manual:$wgNamespaceAliases
From MediaWiki.org
| Namespaces: $wgNamespaceAliases | |
|---|---|
| Provide additional names for namespaces. |
|
| Introduced in version: | 1.10.0 (r21720) |
| Removed in version: | still in use |
| Allowed Values: | array of strings |
| Default Value: | array() |
Other settings: Alphabetical | By Function
[edit] Details
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, );
[edit] Do not use space in namespace names
Take care: When you define a namespace or set a name of a namespace to something which contains space character you should use underline inspite of it. For example 'My Namespace' is an invalid name and it might provide you many problems and you should use 'My_Namespace' instead of it.

