In wikidata I have a watchlist with more than 150.000 items. I would like to clear it but neither https://www.wikidata.org/wiki/Special:EditWatchlist/raw nor https://www.wikidata.org/wiki/Special:EditWatchlist/clear works properly.
Would it be possible that you delete it for me?
Description
Related Objects
Event Timeline
Prior tasks T95888: Clear watchlist of Grillitus@eswiktionary and T47380: Clear specific user's watchlist that is too large to load (HTTP Error 500) suggest that this can be done server-side
Per https://www.wikidata.org/w/api.php?action=query&list=allusers&aufrom=Luckyz&aulimit=1, wl_user should be 104889 and this should do job:
mwscript runBatchedQuery.php --wiki wikidatawiki "DELETE FROM watchlist WHERE wl_user = 104889 LIMIT 5000;"
Adding Wikimedia-maintenance-script-run...
Mentioned in SAL (#wikimedia-operations) [2020-10-14T18:28:22Z] <Urbanecm> wikiadmin@10.192.0.6(wikidatawiki)> DELETE FROM watchlist WHERE wl_user=104889; # T265347
I deleted 600784 pages from your watchlist. I downloaded your watchlist to mwmaint2001:/home/urbanecm/watched_pages_T265347.txt, but I'm unable to upload it anywhere, since Phabricator's pastebin apparently doesn't allow for textfiles that have 7 MBs. Please ping me if you want it, otherwise, I'll delete it in a few days.
Your watchlist now should be empty:
wikiadmin@10.192.16.39(wikidatawiki)> select count(*) from watchlist where wl_user=104889; +----------+ | count(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec)
Calling this resolved.