Manual:$wgEnableProtectionIndicators/zh

Category:MediaWiki configuration settings/zh#EnableProtectionIndicatorsCategory:MediaWiki configuration settings introduced in version 1.43.0/zh#EnableProtectionIndicatorsCategory:MediaWiki configuration settings still in use/zh#EnableProtectionIndicatorsCategory:Miscellaneous settings variables/zh#EnableProtectionIndicators
杂项设置: $wgEnableProtectionIndicators
当页面受到保护时,是否显示指示器。
引进版本:1.43.0 (Gerrit change 1033697; git #bfb2d1d9)
移除版本:仍在使用
允许的值:()
false

启用此设置后,锁图标会在受保护页面之上显示为页面状态指示器

该指示器的HTMLid取决于页面的保护级别:protection-<protectionLevel>。 如果受连锁保护,则ID变为protection-<protectionLevel>-cascade

锁图标具有title属性,如果具有指定的保护持续时间,则文本来自系统消息ID“protection-indicator-title” (讨论),如果是无限期保护,则文本来自系统消息ID“protection-indicator-title-infinity” (讨论)

锁图标默认链接到mediawiki.org上的Help:受保护页面页面,但可以通过编辑与指示器ID相同的系统消息并加上-helppage后缀来自定义URL。 此消息的内容必须是完整的URL,不能是页面名称,但可以通过使用解析器函数和模板构造URL。

Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.43.0/zh Category:MediaWiki configuration settings still in use/zh Category:Miscellaneous settings variables/zh