Manual:$wgExtraNamespaces
Outdated translations are marked like this.
名前空間: $wgExtraNamespaces | |
---|---|
追加的な名前空間。 |
|
導入されたバージョン: | 1.3.3 |
除去されたバージョン: | 使用中 |
許容される値: | (配列) |
既定値: | [] |
その他の設定: アルファベット順 | 機能順 |
詳細
$wgExtraNamespaces
では、ウィキの追加的なカスタム[[namespaces |名前空間]]を定義します。
既定の名前空間の名称変更にも使用できます。
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.
拡張機能は、 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
though100
is theoretically possible.
空間の衝突を回避するため、カスタム名前空間を定義する際は、3000
以降の ID を使用することをお勧めします。