Wikipedia:Bots/Requests for approval/DatBot 10
[[User:DatBot|DatBot 10]]
{{Newbot|DatBot|10}}
Operator: {{botop|DatGuy}}
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. {{ping|JoKalliauer}} I'd just like to make sure, does the logic [https://github.com/DatGuy1/Bot-Tasks/commit/d6538d2b31e0b76fa2b6e41f92bb9e1f56f96e9d#diff-4957c4f57c72a93f5e258f6b1efd2a2dR95-R120 here] make sense? It worked on my local testing but it was only on five files.
=Discussion=
This 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)
:The current backlog there is {{PAGESINCATEGORY:Wikipedia non-free svg file size upscale requests}}.Jonteemil (talk) 21:00, 11 April 2020 (UTC)
::{{re|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)
:::That was exactly what Ronhjones wrote in his request for approval :). Thanks!Jonteemil (talk) 10:29, 12 April 2020 (UTC)
:::: 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)
::{{BotTrialComplete}} 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. {{UserContribs3|DatBot|42||20200414143300}}. Dat GuyTalkContribs 15:29, 14 April 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.