Page MenuHomePhabricator

Moving a page over a protected page results in no protection
Open, Needs TriagePublic


Page [[Foo]] is protected
Page [[Bar]] not protected
Being an admin, move [[Bar]] to [[Foo]] with auto deletion of existing page.
[[Foo]] is no longer protected.
It should stay protected or at least ask to keep or remove the protection along with the deletion confirmation.

Experienced it twice while merging sandbox to main page in elwiki (I believed I reported it first time but it seems that I didn't).

Event Timeline

geraki created this task.Apr 24 2019, 5:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 24 2019, 5:20 PM

protections are based on pageids, not titles.

So the protection level of [[Bar]] stays as before the move, because moving an unprotected page over a protected redirect seems not a reason to protect the page. On the other way round, it could also mean moving the protected page to an unprotected page removes protection. That seems not the best way.