Page MenuHomePhabricator

Error message on double-protected MediaWiki namespace pages
Closed, ResolvedPublic

Description

When trying to edit a MediaWiki: page logged out on en.wiki, it displays [[MediaWiki:Protectedpagetext]], which would indicate that the page had been protected manually by an administrator. However, these pages have not been protected manually. Other Wikimedia wikis don't act similarly, suggesting that this is simply a configuration quirk from years past.

Can this line be removed?


Version: unspecified
Severity: enhancement

Details

Reference
bz13187

Event Timeline

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

If the page has been protected itself (as is likely for any message page that exists and has existed for a long time), then you should indeed see that message as well as the system message message.

Something seems to have broken though in that the protection action is forbidden on these messages. Bleh.

alexsm333 wrote:

At this point other Wikipedia wikis exibit the same behavior, e.g. see http://ru.wikipedia.org/w/index.php?title=MediaWiki:Edittools&action=edit&uselang=en

Another symptom is the "sysop" protection in the HTML source:
var wgRestrictionEdit = ["sysop"];
var wgRestrictionMove = ["sysop"];

Note that some pages are still fine (no "page has been locked" message):
http://en.wikipedia.org/w/index.php?title=MediaWiki:edittools&action=edit&uselang=en
http://ru.wikipedia.org/w/index.php?title=MediaWiki:aboutpage&action=edit&uselang=en

I queried the enwiki and ruwiki databases for protected pages in the MediaWiki namespace, but found none.