As an admin, I have to click each buttons when I want to perform revdels. It would be great to have a button to 'choose all/none/reverse' button or such.
Currently Korean Wikipedia is handling this via JavaScript (Screenshot F92777)
revi | |
Mar 10 2015, 5:47 AM |
F92777: Implementation of T92230 via JS | |
May 31 2015, 6:39 AM |
As an admin, I have to click each buttons when I want to perform revdels. It would be great to have a button to 'choose all/none/reverse' button or such.
Currently Korean Wikipedia is handling this via JavaScript (Screenshot F92777)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | lfaraone | T92230 Button option to 'choose all/none/reverse' for revdel | |||
Resolved | Krinkle | T131318 Minor issues with 'mediawiki.checkboxtoggle' module |
There's already code in the Nuke extension to do this, it should be easy to copy it to core.
Should this be implemented in JS, server-side, or both? (JS default with a server-side fallback)
JS seems fine for now given it's just an enhancement. Server-side would be nice, but that might be non-trivial?
Change 264127 had a related patch set uploaded (by LFaraone):
Add links to toggle checkbox selections in Special:Log
Change 264127 merged by jenkins-bot:
Add links to toggle checkbox selections in Special:Log
Change 264908 had a related patch set uploaded (by LFaraone):
Add toggle checkboxes to action=history
@lfaraone: just tested on test.wikipedia.org, I'm seeing these buttons on Special:Log even if no checkboxes are present (which is strange because even if I'm not allowed to revdel I should see the option to add/remove edit tags, now missing - possibly a regression?). BTW I wonder if the buttons could also apply to edit tags on history pages (right now the condition to be met is $user->isAllowed( 'deleterevision' ), this excludes non-sysops).
Hmmm. It doesn't appear when not-logged-in, but does appear when you're a user without administrator rights.
What role on testwiki lets you modify tags besides Admin? Edit Filter Manager doesn't exist on that wiki.
According to https://test.wikipedia.org/wiki/Special:ListGroupRights all users have the ability to change tags there. I know some other main projects also have the ability to tag edits for all users.
It turns out that the change-tags buttons and checkboxes are hidden through CSS on test.wikipedia. Sorry!