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 Denied.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Philroc (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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): Wikipedia:Bot requests#Follow up task for files tagged Shadows Commons by GreenC bot job 10
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
edit- Approved for trial (50 edits or 7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Whichever comes first. Primefac (talk) 21:47, 19 April 2020 (UTC)[reply]
- 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)[reply]
- 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)[reply]
- @Philroc: {{OperatorAssistanceNeeded}} Please see the above. --TheSandDoctor Talk 06:56, 28 May 2020 (UTC)[reply]
- Hi Primefac – 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. Philroc (c) 19:38, 28 May 2020 (UTC)[reply]
- 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)[reply]
- 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)[reply]
- Denied. This doesn't appear to be a task that necessitates a bot. Primefac (talk) 23:14, 28 August 2020 (UTC)[reply]
- 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.