User talk:Writ Keeper/Scripts/massRevdel.js

This is amazing
Really. I filed T118897 to integrate it into MW proper. Legoktm (talk) 19:48, 17 November 2015 (UTC)

Doesn't seem to be working as of recently
Hi Writ Keeper - I've been using this script for quite some time, but it looks like as of recently, I'll use it, it'll state that the revisions were rev del'd successfully, but when refreshing the contribs page to verify - nothing is rev del'd. Just wanted to let you know.  ~Oshwah~  (talk) (contribs)   19:34, 14 July 2017 (UTC)
 * I'll investigate, thanks. Writ Keeper &#9863;&#9812; 19:37, 14 July 2017 (UTC)
 * Oshwah: should be mostly fixed now. The confirmation dialog is missing at the moment, but it should actually perform the deletions now; refreshign the page to verify is still a good idea. I'll work on the confirmation dialogs next. Writ Keeper &#9863;&#9812; 20:13, 14 July 2017 (UTC)
 * Oshwah: confirmation dialog restored, script should be back to 100% functionality. Thanks for the heads up! Writ Keeper &#9863;&#9812; 20:24, 14 July 2017 (UTC)
 * You bet! Thanks for taking a look at ;-)  ~Oshwah~  (talk) (contribs)   20:29, 14 July 2017 (UTC)
 * Writ Keeper - Can confirm; script appears to be working now. Thanks again.  ~Oshwah~  (talk) (contribs)   20:31, 14 July 2017 (UTC)

50?
Any particular reason we are confined to 50? I currently need to kill +250 revisions (and more) at once and this is... /facaepalm. &mdash; regards, Revi 08:56, 23 September 2018 (UTC)
 * And the script effectively removes the ability to distinguish revdel'ed edits and suppressed one. &mdash; regards, Revi 09:09, 23 September 2018 (UTC)
 * probably deserves some ping here? (The imminent problem was fixed by doing it by 50 multiple times.) &mdash; regards, Revi 13:50, 27 September 2018 (UTC)
 * Haha, thanks for the ping; I have this page on my watchlist, but it must've slipped through somehow. There was probably a reason I put a hard cap at 50, but damned if I remember what it was. I'll take a look at that. For the OS issue, can you explain a bit more? How do you distiguish revdeled and oversighted edits without the script? Not having OS myself, that part of the script was always a bit speculative. Writ Keeper &#9863;&#9812; 14:04, 27 September 2018 (UTC)
 * @-revi: As it turns out, the 50 edits is actually an API limitation: Identifiers for the revisions to be deleted. No more than 50 (500 for bots) allowed, per the API spec. Writ Keeper &#9863;&#9812; 14:34, 27 September 2018 (UTC)
 * Hmm, then OK, I will need to customize on my own since I have apihighlimits (so act like bot). Thanks! &mdash; regards, Revi 14:35, 27 September 2018 (UTC)
 * Actually, that's a good point; apihighlimits is by Mediawiki default granted to sysops too. If that's true on en, then there's no reason not to increase the limit for everyone, since anyone using this script has to be a sysop anyway. Writ Keeper &#9863;&#9812; 14:58, 27 September 2018 (UTC)
 * Yup, local admins haz apihighlimits as well. &mdash; regards, Revi 15:25, 27 September 2018 (UTC)
 * Good enough! Limit upped to 500, to match the bot limiter. Writ Keeper &#9863;&#9812; 15:34, 27 September 2018 (UTC)

Quick Suggestion
I was sort of thinking if you are willing to add "invert" button, offered by MediaWiki Core? (See also T92230) &mdash; regards, Revi 14:51, 22 January 2020 (UTC)
 * @-revi: Sure, but just so you know, it's way too tempting for me to then remove one of the select all/none buttons, since select all is the same as select none + invert selection and vice versa. :) Writ Keeper &#9863;&#9812; 15:22, 22 January 2020 (UTC)
 * That make sense, maybe [(de)select all] / [invert selection]? Gisado (talk) 18:04, 25 January 2020 (UTC)
 * Haha, naw, it's easiest to just add the button, I think. It should already be there :) Writ Keeper &#9863;&#9812; 21:03, 25 January 2020 (UTC)

Am I going crazy?
I have this vision in my head of being able to select the WP:OSPOL criteria from the dropdown menu, but the last few times I've gone to suppress from the contribs menu all I've gotten is the RD criteria. Am I just misremembering or did something change? Primefac (talk) 00:11, 8 May 2020 (UTC)
 * (tps) you're not crazy; MediaWiki:Revdelete-reason-dropdown was split, and the OS criteria are at MediaWiki:Revdelete-reason-dropdown-suppress, but the script only retrieves the normal revdel reasons, not the new separate suppression reasons. See T102581 for background. DannyS712 (talk) 02:20, 8 May 2020 (UTC)
 * Came here to say the same. Ping  in case it wasn't seen.  Tossing another $.get in a .then should do it quick n dirty. ~ Amory  (u • t • c) 10:06, 1 August 2020 (UTC)
 * Thanks for the ping, Amorymeltzer; I did indeed miss this. @Primefac: if you're still thinking about this, it's fixed now! Writ Keeper &#9863;&#9812; 13:25, 1 August 2020 (UTC)
 * Awesome, thanks! Primefac (talk) 01:03, 2 August 2020 (UTC)