Page MenuHomePhabricator

Allow admins to protect a page from creation in deletion form
Open, MediumPublicFeature

Description

Feature summary

In Special: Delete you should be able to access protection options if you have the required user right (protect)

The way to do would be to also include a section in [[Special:Delete]] that duplicates [[Special:Protect]] if the required user right is possessed by the editor concerned. The special page would make then changes to both the deletion log and the protection log.

Benefits

Any administrator who wishes to "delete and salt" a page would be able to do this in one move, rather than having to take 2 separate actions to get it done. This would be more efficient.

  • Notes **

The special page to change is includes/specials/SpecialDeletePage.php -- the code for the page protection is in includes/specials/SpecialProtectPage.php.

Event Timeline

Bugreporter2 added a project: patch-welcome.

Are we the current maintainers of pageDeletion, and is this a feature we can take on as a team? Tagging Ohana for further discussion about who is prepared to add features to pageDeletion.

According to mw:Maintainers yes we do own Page deletion. Therefore Acknowledging request and adding it to our backlog for prioritization

Bugreporter renamed this task from Add protection options to Special: delete to Add options to Special:Delete allowing admins to protect a page from creation after deletion.Sep 3 2025, 2:40 PM
Bugreporter renamed this task from Add options to Special:Delete allowing admins to protect a page from creation after deletion to Allow admins to protect a page from creation after deletion.Sep 3 2025, 2:43 PM

Erm, it's not after deletion, it's at the same time. or during deletion, so admins only have one form to fill out. The original description was specific about this.

Bugreporter renamed this task from Allow admins to protect a page from creation after deletion to Allow admins to protect a page from creation in deletion form.Sep 4 2025, 2:30 AM