手册:$wgExtraNamespaces

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgExtraNamespaces and the translation is 42% complete.

Other languages:
Deutsch • ‎English • ‎magyar • ‎polski • ‎中文 • ‎日本語
名字空间: $wgExtraNamespaces
额外名字空间。
引进版本:1.3.3
移除版本:仍在使用
允许的值:(数组)
默认值:[]

详情

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

This is covered in detail in 手册:使用自定义名字空间 .

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).

参见