Page MenuHomePhabricator

Missing text in MediaWiki namespace for semi-protection
Closed, ResolvedPublic

Description

Author: arnomane

Description:
The new semi-protection feature misses a specific informational text for users that are not allowed to
edit these pages:

Currently there exist for normal protection:

  • MediaWiki:Protectedpagewarning (only visible by sysops)
  • MediaWiki:Protectedtext (visible to all users that are not sysops)

For semi-protection there is:

  • MediaWiki:Semiprotectedpagewarning (visible to all users that are allowed to edit)
  • Users that are not allowed to edit get the MediaWiki:Protectedtext as well as

MediaWiki:Semiprotectedtext has no effect if it exists.

So I would like to have MediaWiki:Semiprotectedtext in order to be able writing a better fitting
statement designed for semi-protection and not a general notice in MediaWiki:Protectedtext that covers
all cases (okay some people can call this also a feature as it looks like if the page is completly
protected ;-) ).


Version: 1.6.x
Severity: normal
OS: Linux
Platform: Other

Details

Reference
bz4958

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:06 PM
bzimport set Reference to bz4958.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Problem. "Semi protection" isn't the complete story. MediaWiki doesn't really
have any concept of it, either; technically my addition of the
"semiprotectedpagewarning" message was a hack. "Protectedtext" needs to state
that the current user can't edit the page, and perhaps provide information about
the groups which can.

The protection level is passed in the $1 parameter in the message so you can use {{#ifeq:...}} or something else to switch beetween the two cases (at least in default configuration).