User talk:AntiCompositeNumber
|
AntiCompositeBot/ShouldBeSVG
Thank you for maintaining this bot. I notice that sometimes the bot makes edits that just shuffle around list items with the same number of uses. For example, in Special:Diff/1034639774, it switches the order of File:Spa_1950.jpg and File:HUN_Sajóbábony_COA.jpg, both used 402 times, and of File:Coat_of_arms_of_Menoufia_Governorate.jpg and File:Silk_route.jpg, both used 398 times. The simplest fix would probably be to sort by the file name in addition to the existing descending sort by number of uses. Apocheir (talk) 21:34, 23 May 2025 (UTC)
- I have opened https://github.com/AntiCompositeNumber/AntiCompositeBot/issues/384. It's unlikely to be done until I rewrite the bot task. AntiCompositeNumber (talk) 00:02, 24 May 2025 (UTC)
- I understand if you don't want to bother, but I believe the only changes that need to be made to ShouldBeSVG.py are:
- change line 58 from
ORDER BY count(*) DESC
toORDER BY count(*) DESC, page_title
- change line 124 from
usage_counts, key=lambda file: file.usage, reverse=True
tousage_counts, key=lambda file: (-file.usage, file.title)
and maybe tweak the comment on line 122 to reflect the change
- change line 58 from
- Apocheir (talk) 18:59, 24 May 2025 (UTC)
- I understand if you don't want to bother, but I believe the only changes that need to be made to ShouldBeSVG.py are:
Sent an email!
@AntiCompositeNumber Rejoy2003(talk) 06:36, 12 June 2025 (UTC)
- @Rejoy2003, Please do not email me to request copyright violation blocks. Use COM:ANBP instead. Thanks, AntiCompositeNumber (talk) 01:52, 13 June 2025 (UTC)
Flickr licenses currently a mess
Is there a way to temporarily disable AntiCompositeBot license checking specifically for uploads from Flickr? At the moment, a change in the Flickr API has made several of our standard upload tools incapable of pulling in license info from Flickr on an automated basis. - Jmabel ! talk 17:12, 21 June 2025 (UTC)
- @Jmabel it can skip files based on templates in User:AntiCompositeBot/NoLicense/Config.json, if there's one that would apply. If that doesn't work I can look more into it later. AntiCompositeNumber (talk) 17:17, 21 June 2025 (UTC)