Open main menu

Manual:$wgExtraNamespaces

Other languages:
Deutsch • ‎English • ‎magyar • ‎polski • ‎中文 • ‎日本語
Namespaces: $wgExtraNamespaces
Additional namespaces.
Introduced in version:1.3.3
Removed in version:still in use
Allowed values:(array)
Default value:[]

DetailsEdit

$wgExtraNamespaces configures additional, custom namespaces for a wiki. It can also be used to rename the default namespaces.

This is covered in detail in Manual:Using custom namespaces .

In case an extension should work with the newly created custom namespace, make sure that you define and name them prior to invoking the respective extension.

Extensions should not use this setting, instead they should use the CanonicalNamespaces hook or load the namespace through extension.json (MW 1.26+, Gerrit change 234146).

See alsoEdit