Page MenuHomePhabricator

Protected pages from creation don't show the "change protection" link and the current protection level
Closed, ResolvedPublic

Event Timeline

Melos raised the priority of this task from to High.
Melos updated the task description. (Show Details)
Melos changed Security from none to None.
Melos added a subscriber: Melos.

Did this work before? If yes, any idea when this broke?

@Melos: Why was "MediaWiki-CoreTeam" added here as a project?

Change 181423 had a related patch set uploaded (by Hoo man):
Improve/ sanitize protected_titles handling


Legoktm added a subscriber: hoo.

@hoo tracked this down to a regression in my MovePage patch.

The regression is due to moving the BC handling from callers of getTitleProtection() into getTitleProtection() itself. @hoo's patch tries to go a little further with that, but it doesn't go far enough and actually going far enough looks to me like it would turn out to be a lot of work.

We might be better served with the short-term solution of just reverting the part of the MovePage patch that moved the BC handling into getTitleProtection().

Change 181423 abandoned by Hoo man:
Improve/ sanitize protected_titles handling

I don't think I'll have time to work on this anytime soon.

Change 335996 had a related patch set uploaded (by Anomie):
Fix Title::loadRestrictions() for create-protected titles

Change 335996 merged by jenkins-bot:
[mediawiki/core] Fix Title::loadRestrictions() for create-protected titles

Anomie claimed this task.

The fix should be deployed to WMF wikis with 1.29.0-wmf.15, see for the schedule.