Wikipedia:Bots/Requests for approval/Roccerbot


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

Roccerbot
Operator:

Time filed: 20:32, Wednesday, April 15, 2020 (UTC)

Function overview: Remove ShadowsCommons from local files transcluding it whose corresponding Commons files no longer exist

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: Here

Links to relevant discussions (where appropriate): Bot requests

Edit period(s): Daily

Estimated number of pages affected: <20 per day

Namespace(s): Files

Exclusion compliant (Yes/No): Yes (handled automatically by Pywikibot)

Function details: The bot will scan through the files in Category:Wikipedia files that shadow a file on Wikimedia Commons (which pages using ShadowsCommons are automatically added to) and determine if a page with the same title as each file exists on Commons; if one doesn't, a regex will be used to detect and remove ShadowsCommons from the file's wikitext.

Discussion

 * Whichever comes first. Primefac (talk) 21:47, 19 April 2020 (UTC)
 * This will probably take some time. Category:Wikipedia files that shadow a file on Wikimedia Commons is a category that is updated weekly and only a few instances of a mistag are present at any time. I can carry out my weekly cleanup in a manner that leaves "testing material", though. Jo-Jo Eumerus (talk) 08:26, 20 April 2020 (UTC)
 * That was kind of the point of the trial lengths. If it's common enough to merit a bot run, it'll hit 50 before the end of a week (after all the task says up to 20 per day). If it's going to take a month to hit 50 edits, it makes me wonder if a bot is necessary. Primefac (talk) 00:39, 15 May 2020 (UTC)
 * D Please see the above. -- The SandDoctor Talk 06:56, 28 May 2020 (UTC)
 * Hi – school-related activities have taken up most of my free time over the past few weeks so I apologize if I wasn't able to respond to your message until now. I could try running the bot weekly or monthly instead of daily, though I'm glad to withdraw this request if you feel that the task doesn't necessitate a bot run.  Phil  roc  (c) 19:38, 28 May 2020 (UTC)
 * This doesn't appear to be a task that necessitates a bot. Primefac (talk) 23:14, 28 August 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.