Jump to: navigation, search

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

Other settings: Alphabetical | By Function

Details[edit | edit source]

$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 namespacesManual:Using custom namespaces.

Extensions should not use this setting, instead they should use the CanonicalNamespacesManual:Hooks/CanonicalNamespaces hook or load the namespace through extension.jsonManual:Extension registration (MW 1.26+, gerrit:234146).

See also[edit | edit source]