Wikipedia:Bots/Requests for approval/DatBot 10
- 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 Approved.
Operator: DatGuy (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:05, Monday, April 6, 2020 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://github.com/DatGuy1/Bot-Tasks/commit/d6538d2b31e0b76fa2b6e41f92bb9e1f56f96e9d
Function overview: Resize non-free SVGs
Links to relevant discussions (where appropriate): Wikipedia:Bot_requests#Resurrect_RonBot_task_4, Wikipedia:Bots/Requests for approval/RonBot 4
Edit period(s): Daily
Estimated number of pages affected: 118 in backlog
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Category:Wikipedia non-free svg file size reduction requests will be merged back into Category:Wikipedia non-free file size reduction requests, just instead of being skipped by the code that resizes 'normal' images and the like it will process them too. @JoKalliauer: I'd just like to make sure, does the logic here make sense? It worked on my local testing but it was only on five files.
Discussion
editThis would be very appreciated. Could the bot also check and take care of Category:Wikipedia non-free svg file size upscale requests? This was previously done by RonBot: Wikipedia:Bots/Requests for approval/RonBot 14.Jonteemil (talk) 20:58, 11 April 2020 (UTC)[reply]
- The current backlog there is 0.Jonteemil (talk) 21:00, 11 April 2020 (UTC)[reply]
- @Jonteemil: Sure. Don't think I need to change anything in the code, just add the category. Dat GuyTalkContribs 08:38, 12 April 2020 (UTC)[reply]
- That was exactly what Ronhjones wrote in his request for approval :). Thanks!Jonteemil (talk) 10:29, 12 April 2020 (UTC)[reply]
- As you are probably aware, that category page has just been renamed to Category:Wikipedia SVG upscale requests. The member pages appeared in the new category name a couple of days ago – a template must have been edited in advance. – Fayenatic London 08:31, 17 April 2020 (UTC)[reply]
- That was exactly what Ronhjones wrote in his request for approval :). Thanks!Jonteemil (talk) 10:29, 12 April 2020 (UTC)[reply]
- @Jonteemil: Sure. Don't think I need to change anything in the code, just add the category. Dat GuyTalkContribs 08:38, 12 April 2020 (UTC)[reply]
- Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 00:20, 13 April 2020 (UTC)[reply]
- Trial complete. After ironing out the annoying bugs (who knew SVGs could be such a hassle), only issue was with File:Herr's Logo.svg, where the data said it was a certain size while Wikipedia said it was another. [1]. Dat GuyTalkContribs 15:29, 14 April 2020 (UTC)[reply]
- Approved. Primefac (talk) 21:41, 19 April 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.