Manual:$wgEnableProtectionIndicators
| Miscellaneous settings: $wgEnableProtectionIndicators | |
|---|---|
| Whether to show indicators on a page when it is protected. |
|
| Introduced in version: | 1.43.0 (Gerrit change 1033697; git #bfb2d1d9) |
| Removed in version: | Still in use |
| Allowed values: | (boolean) |
| Default value: | true (1.45+)false (1.43—1.44) |
| Other settings: Alphabetical | By function | |
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 message with id 'protection-indicator-title' (talk) if it has a specified protection duration, or message with id 'protection-indicator-title-infinity' (talk) 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.