Manual:$wgEnableProtectionIndicators
| その他の設定: $wgEnableProtectionIndicators | |
|---|---|
| ページが保護されている場合にインジケーターを表示するかどうか。 |
|
| 導入されたバージョン: | 1.43.0 (Gerrit change 1033697; git #bfb2d1d9) |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (真偽値) |
| 既定値: | true (1.45+)false (1.43—1.44) |
| その他の設定: アルファベット順 | 機能順 | |
When this setting is enabled, a lock icon is displayed as a page status indicator on protected pages .
The indicator has an HTML id depending on the protection level of the page: protection-<protectionLevel>. If it's cascade-protected, then the id becomes protection-<protectionLevel>-cascade.
The lock icon has a title attribute with the text coming from the ID「protection-indicator-title」のメッセージ (トーク) if it has a specified protection duration, or ID「protection-indicator-title-infinity」のメッセージ (トーク) if there's no expiration for the protection.
The lock icon links to the Help:Protection page on mediawiki.org, but the URL can be customized by editing a system message with the same id as the indicator, plus the -helppage suffix.
The contents of this message must be a full URL, it can't be a page name, but it can use parser functions and templates to construct the URL.
For further information about customizing the appearance on-wiki, see Help:Protection indicators .