手册:$wgExtraSignatureNamespaces
命名空间: $wgExtraSignatureNamespaces | |
---|---|
Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed. |
|
引进版本: | 1.26.0 (Gerrit change 87649; git #b3f897e9) |
移除版本: | 仍在使用 |
允许的值: | (数组) |
默认值: | [] |
其他设置: 按首字母排序 | 按功能排序 |
详情
The "Signature" button on the edit toolbar is by default only shown in talk namespaces. It is hidden by default in non-talk namespaces. $wgExtraSignatureNamespaces
controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
$wgExtraSignatureNamespaces
is an array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be used. This determines whether to display the Signature button on the edit toolbar, and may also be used by extensions. For example, "traditional" style wikis, where content and discussion are intermixed, could place NS_MAIN and NS_PROJECT namespaces in this array.
示例
$wgExtraSignatureNamespaces = [ NS_MAIN, NS_HELP ];
The configuration will activate the "Signature" button in the Article and the Help namespace.
参见
- Manual:命名空间 - for a list of the available namespaces with their names and numbers