Page MenuHomePhabricator

Cannot delete protected redirect when renaming to that name
Closed, DuplicatePublicBUG REPORT

Description

Usually, if you have a redirect that only contains redirect creation in its history, you can rename a page into that name automatically without requesting the page to be deleted. But with semi-protected/protected redirects that is, for some reason, no longer true even if you have the rights to edit all protected pages, like I do.

Example:

History in protected redirect:

16:31, 31 марта 2023‎ QBA-bot обсуждение вклад‎ м 52 байта 0‎ Защитил страницу Шаблон:Победа: критический шаблон или модуль (каскадная защита) ([Редактирование=только автоподтверждённые] (бессрочно) [Переименование=только автоподтверждённые] (бессрочно)) откатить 1 правкуотменить [отпатрулирована автоматически] // semi-protection

09:27, 4 августа 2022‎ Calvinn1 обсуждение вклад‎ 52 байта +52‎ ← Перенаправление на «Шаблон:Won» поблагодарить Метки: новое перенаправление правка с мобильного устройства правка из мобильной версии расширенная мобильная правка [отпатрулирована автоматически] // redirect creation

I think that it should be allowed to rename over redirects that only have redirect protection as only other edit.

Event Timeline

The code looks that there is no other revision as the current one. It does it since the feature was added in 9a45998d977878da3fa38a13a2697d7c6731d3f0
Maybe your "no longer" refers to the normal delete-and-move feature for users with the delete right, which gets an extra confirm button on the move page after first submit.

Yes, it is impossible even through delete-and-move feature (but, tbh, protections shouldn’t affect ‘move over redirect’ actions either). ‘no longer’ didn’t mean that this is a regression.