Manual:$wgExtraNamespaces

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

詳細

$wgExtraNamespaces 構成パラメーターは、ウィキの追加的なカスタム $2 を構成できるようにします。

既定の名前空間の名称変更にも使用できます。

See the manual on using custom namespaces for further details.

Developer information:

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.

拡張機能はこの構成パラメーターを使用してはいけません。代わりに、CanonicalNamespaces フックを使用するか、名前空間を extension.json (MW 1.26+, Gerrit change 234146) を介して読み込むべきです。

関連項目

  • 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 を使用することをお勧めします。