Commons:Bots/Requests/Embedded Data Bot (alteration 2)
Embedded Data Bot (talk · contribs) (alteration 2)
Operator: Zhuyifei1999, Steinsplitter, Revent
Bot's tasks for which permission is being sought: Alteration of Commons:Bots/Requests/Embedded Data Bot (adminbot): When condition #4 (require only 1 single file revision) do not match, perform an overwrite with the embedded part truncated, and revision delete the bad revision.
@Jdx: observed that the pirates are now actively exploiting the condition to bypass immediate deletion. They even uploaded a tutorial on how to bypass it.
This condition was originally used to prevent anyone from abusing the bot to delete an arbitrary page; some crazy logic could be used to extend the scope of automated immediate deletion to any eligible page under COM:CSD#G7 (uploader request), but if the pirates were to overwrite someone else's file CSD G7 would not pass, allowing easy deletion bypassing.
Perform a revdel would discourage the pirates from using this method (though the time-to-revdel may still be longer than time-to-deletion due ti requiring an overwrite), but may unfortunately leave a trail of copyvios for manual deletion.
Automatic or manually assisted: Automatic unsupervised
Edit type (e.g. Continuous, daily, one time run): Continuous via RC
Maximum edit rate (e.g. edits per minute): Honestly, I don't know. The codebase is getting too complex.
Bot flag requested: (Y/N): N
Programming language(s): Python: Pywikibot
Zhuyifei1999 (talk) 09:28, 21 May 2017 (UTC)
Discussion
- Now test running. Revdel is not exactly stable due to requiring a refreshed file revision history after overwriting. The oldimage id won't be available until after overwrite. If things go wrong, the old {{Embedded data}} tag would be applied. --Zhuyifei1999 (talk) 09:42, 21 May 2017 (UTC)
- I'd suggest not to publish details of further alterations in order to avoid easily working around. --Krd 15:29, 21 May 2017 (UTC)
- @Krd: If that's the case, is announcing them in phab:Z567 enough? --Zhuyifei1999 (talk) 15:35, 21 May 2017 (UTC)
- I'd say yes, although I was unable to follow the discussion, to be honest. Anyway, you're doing a fantastic job here, and I'm not aware of any unaddressed problems, so unless something goes seriously wrong I'd suggest to continue at your discretion. --Krd 16:04, 21 May 2017 (UTC)
- @Krd: If that's the case, is announcing them in phab:Z567 enough? --Zhuyifei1999 (talk) 15:35, 21 May 2017 (UTC)
Approved. --Krd 05:19, 29 May 2017 (UTC)