手册:$wgExtraNamespaces

This page is a translated version of the page Manual:$wgExtraNamespaces and the translation is 69% complete.
Outdated translations are marked like this.
命名空间: $wgExtraNamespaces
额外名字空间。
引进版本:1.3.3
移除版本:仍在使用
允许的值:(数组)
默认值:[]

详情

$wgExtraNamespaces用來配置wiki上額外、自訂的[[namespaces |命名空間]]。

它也能被用來重命名預設的命名空間。

See the manual on using custom namespaces for further details.

Developer information:

如果擴展應該與新建的自訂命名空間一起使用,請確保在調用對應擴展之前定義和命名它們。

擴展不應使用此設置,而應使用CanonicalNamespaces 鉤子或透過extension.json 載入命名空間(MW 1.26+Gerrit change 234146)。

参阅