Page MenuHomePhabricator

Add user details, including block link, after Nuke deletions are queued
Closed, ResolvedPublic3 Estimated Story Points

Description

Similarly to T34179, if an admin nukes a user's contributions, they're likely to want to block the user, so we could add a link to the deletion confirmation page, which currently has no links. We could also present other information about the user (talk page, contributions) so that the admin can more easily follow up in multiple ways.

Screenshot 2024-05-04 at 15.50.44.png (798×1 px, 70 KB)

In the case that Nuke was used to nuke one user's contributions, display a message like the following at the top of the deletion confirmation page, above the list of deleted pages:

Queued X pages created by Username (talk | contribs | block) for deletion

This matches the way users display for admins in venues like the Watchlist:

Screenshot 2024-11-04 at 17.11.01.png (108×554 px, 12 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Perhaps we could add a note at the top that says something like "Queued 12 pages created by Samwalton9 (talk | contribs | block) for deletion", so that the admin can follow up with the user in a number of ways (e.g. sending a talk page message or blocking).

Samwalton9-WMF renamed this task from Add link to block user after Nuke deletions are queued to Add user details, including block link, after Nuke deletions are queued.Nov 4 2024, 5:11 PM
Samwalton9-WMF updated the task description. (Show Details)
jsn.sherman set the point value for this task to 3.Nov 7 2024, 2:48 PM
jsn.sherman moved this task from Triaged to Estimated on the Moderator-Tools-Team board.

I meant to put this on the board last week.

Chlod changed the task status from Open to In Progress.Nov 14 2024, 6:59 AM
Chlod moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Change #1091189 had a related patch set uploaded (by Chlod Alejandro; author: Chlod Alejandro):

[mediawiki/extensions/Nuke@master] Add details and user links to result page

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

Example screenshots of the added message:

Screenshot_9.png (181×613 px, 7 KB)

Screenshot_10.png (209×641 px, 9 KB)

Screenshot_11.png (233×652 px, 10 KB)

This still says "queued" even if the page was deleted instantly (such as with files). The alternative is saying "Deleted X pages" which might not always be instant (T379476), leaving administrators to be confused.

The "created by ..." part is removed when a username wasn't supplied while deleting (i.e. delete all pages matching pattern regardless of username).

Example screenshots of the added message:

Screenshot_9.png (181×613 px, 7 KB)

Screenshot_10.png (209×641 px, 9 KB)

Screenshot_11.png (233×652 px, 10 KB)

This still says "queued" even if the page was deleted instantly (such as with files). The alternative is saying "Deleted X pages" which might not always be instant (T379476), leaving administrators to be confused.

The "created by ..." part is removed when a username wasn't supplied while deleting (i.e. delete all pages matching pattern regardless of username).

This looks good! Thanks for considering the 'no username' case.

I think 'queued' is the best language to opt for. People might be confused by 'deleted' if, as you point out, deletion takes a moment. No one's going to be disappointed if they read 'queued' but the pages are deleted quickly :)

Moving this back a bit to include changes for T364223. The end result code overlaps quite a bit, and it might be more worth hitting both tasks at the same time rather than waiting for a merge and then rebasing.

Change #1091189 merged by jenkins-bot:

[mediawiki/extensions/Nuke@master] Add more details to post-delete page

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

@Chlod, we have QA'ed your patch on test wiki and we have noticed that the user actions do not show up whenever we mass delete pages where we leave the user/IP field blank. Here is a screenshot for reference.

Screenshot 2024-11-27 at 11.15.46.png (386×1 px, 55 KB)

@Chlod, we have QA'ed your patch on test wiki and we have noticed that the user actions do not show up whenever we mass delete pages where we leave the user/IP field blank. Here is a screenshot for reference.

Screenshot 2024-11-27 at 11.15.46.png (386×1 px, 55 KB)

I think that's intentional? Per the description:

In the case that Nuke was used to nuke one user's contributions

I wasn't sure how to approach the situation where we're deleting articles from multiple contributors so suggested we ignore that case for now :)

Thank you for clarifying, Sam! This then looks good on test wiki. We can resolve it now or wait until you QA on enwiki. 😄

I can test it on enwiki early next week.

Might benefit from some UX work to lay out the information in a less messy way, but confirmed this is working as expected :)

Screenshot 2024-12-02 at 14.00.15.png (600×1 px, 110 KB)

For Tech News:

The Nuke feature, which enables administrators to mass delete pages, now provides links to the user whose pages were deleted, and to the pages which were not selected for deletion, after page deletions are queued.