Manual:$wgExtraNamespaces

From mediawiki.org
This page is a translated version of the page Manual:$wgExtraNamespaces and the translation is 83% complete.
名前空間: $wgExtraNamespaces
追加的な名前空間。
導入されたバージョン:1.3.3
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

詳細

$wgExtraNamespaces では、ウィキの追加的なカスタム名前空間を定義します。 既定の名前空間の名称変更にも使用できます。

これの詳細は Manual:カスタム名前空間の使用方法 にあります。

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.

拡張機能は、 extension.json (MW 1.26+, Gerrit change 234146) 経由で CanonicalNamespaces フックまたは名前空間を使う場合を除き、この設定をしてはいけません。

関連項目

  • Namespace IDs used by extensions – Shows you a list of namespace IDs you should definitely avoid to prevent namespace conflicts, thus the first custom namespace may encounter conflicts even at ID 110 though 100 is theoretically possible.

空間の衝突を回避するため、カスタム名前空間を定義する際は、3000 以降の ID を使用することをお勧めします。