Page MenuHomePhabricator

Create a separate list of suppression-only reasons for Special:RevisionDelete
Closed, ResolvedPublic

Description

On wikis such as the English Wikipedia, the dropdown of pre-filled reasons for deleting a revision that's on Special:RevisionDelete has messages for people with suppression. Although the tick box to actually suppress the edit is only displayed if you have the ability to do suppress edits, the messages in the dropdown are displayed regardless. They probably shouldn't be, considering it's not possible to legitimately use them if you're not capable of suppressing edits.

We should support displaying the dropdown messages conditionally somehow.

Event Timeline

Deskana raised the priority of this task from to Low.
Deskana updated the task description. (Show Details)
Deskana subscribed.
Krenair renamed this task from Stop dropdown on Special:RevisionDelete from displaying suppression-only messages to Create a separate list of suppression-only reasons for Special:RevisionDelete.Jun 16 2015, 5:29 PM
Krenair set Security to None.

I would appreciate it; even if you know that you shouldn't use the bottom-of-dropdown reasons, it's always possible to forget or to pick them by accident when you're trying to use a totally different rationale. Much easier to remove those reasons from view entirely for us "normal" admins, to prevent mistakes.

Change 461194 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/core@master] Split reason dropdown list on Special:RevisionDelete

https://gerrit.wikimedia.org/r/461194

Actually, the suppression reasons are sometimes used by admins on enwiki ... when we get across something that probably merits suppression we often hide it pre-emptively before informing the oversight team to get it out of sight faster. The oversight team then has to judge whether it merits the full memory hole.

Change 461194 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/core@master] Split reason dropdown list on Special:RevisionDelete

https://gerrit.wikimedia.org/r/461194

Change 461194 merged by jenkins-bot:
[mediawiki/core@master] Split reason dropdown list on Special:RevisionDelete

https://gerrit.wikimedia.org/r/461194

The new message for the reasons is MediaWiki:revdelete-reason-dropdown-suppress, the old message is kept. Needs moving on each wiki when needed.

@Umherirrender, et al.: this is much appreciated, but as-yet incomplete. AFAICT, the dropdown for AbuseFilter entries still only draws from MediaWiki:Revdelete-reason-dropdown and doesn't account for the new page. I can open a new task if you like, but since AF logs can only be suppressed, not revision-deleted, that means the new page can't really be used.

It would seem reasonable to me for the AF dropdown to only pull from this new page, but in practice it should probably take both as well.

@Umherirrender, et al.: this is much appreciated, but as-yet incomplete. AFAICT, the dropdown for AbuseFilter entries still only draws from MediaWiki:Revdelete-reason-dropdown and doesn't account for the new page. I can open a new task if you like, but since AF logs can only be suppressed, not revision-deleted, that means the new page can't really be used.

It would seem reasonable to me for the AF dropdown to only pull from this new page, but in practice it should probably take both as well.

I was not aware that message is reused extensions, but if you want it there, please fill a new task against the extension. The AbuseFilter extension has many developer action at the moment, so I hope that would be done.

https://codesearch.wmflabs.org/search/?q=revdelete-reason-dropdown&i=nope&files=.*%5C.php&repos=