Page MenuHomePhabricator

Variables returning protection level
Closed, ResolvedPublic

Description

It would be extraordinarily useful to have variables {{editprotectionlevel}} and {{moveprotectionlevel}} returning respectively the edit and move protection level of a page, 'none', 'autoconfirmed' and 'sysop'. Using them in protection templates would allow to hide the tag when protection is expired or inexistent, and to add the pages to maintenance categories making it easier for tag-removal bots and much more efficient than the actual system relying on the presence of an expiry date in the template. As of now, there are probably hundreds of pages with incorrect protection templates.


Version: unspecified
Severity: enhancement

Details

Reference
bz16939

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:26 PM
bzimport set Reference to bz16939.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 9947 ***