Last modified: 2009-07-27 15:38:51 UTC
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 ;-) ).
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).