Commons:Bots/Requests/GlaMainBot
GlaMainBot (talk · contribs)
Operator: Beao (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: I've automated lossless crops for Category:Images from the German Federal Archive with borders and need permission to start uploading the results.
Automatic or manually assisted: Manually assisted to start.
Edit type (e.g. Continuous, daily, one time run): One time run for uploads, otherwise daily for my listing of User:GlaMainBot/Most_used_images_for_cleanup
Maximum edit rate (e.g. edits per minute): At most ten uploads per minute.
Bot flag requested: (Y/N): Y
Programming language(s): TypeScript (using mwn)
Beao 07:49, 23 September 2023 (UTC)
- Discussion
- Just to clarify: Is this to upload as a new version, or to overwrite? If the latter, is there a consensus to do so? I see that those borders include photo credits to the individual photographers, and these are from a respected archive, so I'd just want to make sure that there is agreement that this is desired; I've seen similar situations go either way. Clearly more useful in Wikipedia articles without the borders, but it's not clear to me that we don't want also to host a version with the credit line on the image. - Jmabel ! talk 23:58, 1 October 2023 (UTC)
- My thought is to overwrite. I've not seen any written consensus on the matter, but in practice that's what has been done for years in this category. I think that implies a silent consensus, considering these captions have been digitally added by the archive and provide no additional information not already in the description. Beao (talk) 08:36, 2 October 2023 (UTC)
- Please make some example edits. Krd 17:06, 6 October 2023 (UTC)
- All right, here are three examples:
- File:Bundesarchiv Bild 137-068842, Sonderzug der Einwandererzentralstelle.jpg
- File:Bundesarchiv Bild 137-068843, Sonderzug der Einwandererzentralstelle.jpg
- File:Bundesarchiv Bild 137-068852, Sonderzug der Einwandererzentralstelle.jpg Beao (talk) 10:55, 7 October 2023 (UTC)
- Looks good to me. Krd 13:49, 11 October 2023 (UTC)
- Please make some example edits. Krd 17:06, 6 October 2023 (UTC)
- Any more information or discussion needed? Beao (talk) 12:22, 14 October 2023 (UTC)
- [1] Why is this updated so often? Krd 03:04, 19 October 2023 (UTC)
- The "Images with watermarks" category is very big, so the retrieval of file usage statistics is batched to a fixed number of images every hour to avoid performance spikes, and I update the gallery after every batch. Is updating gallery pages too often problematic? I could do it less often (I'm thinking if images are not removed from the category), and also avoid doing it when nothing changes. Beao (talk) 15:53, 20 October 2023 (UTC)
- Please at least don't update when nothing significant changes. Krd 07:42, 21 October 2023 (UTC)
- I've updated the code to update only on changes now! Beao (talk) 09:01, 24 October 2023 (UTC)
- I appears to me that there are still too many edits or the statistics pages. (Or is there any relevant work done on these maintenance categories?) Krd 14:31, 10 November 2023 (UTC)
- @Beao: ? --Krd 05:41, 17 November 2023 (UTC)
- I've updated the code a couple of days ago and did some extra runs to confirm that it worked, and since then the non-changing categories haven't updated. But yeah, I'm also removing watermarks! Beao (talk) 07:27, 17 November 2023 (UTC)
- @Beao: ? --Krd 05:41, 17 November 2023 (UTC)
- I appears to me that there are still too many edits or the statistics pages. (Or is there any relevant work done on these maintenance categories?) Krd 14:31, 10 November 2023 (UTC)
- I've updated the code to update only on changes now! Beao (talk) 09:01, 24 October 2023 (UTC)
- Please at least don't update when nothing significant changes. Krd 07:42, 21 October 2023 (UTC)
- The "Images with watermarks" category is very big, so the retrieval of file usage statistics is batched to a fixed number of images every hour to avoid performance spikes, and I update the gallery after every batch. Is updating gallery pages too often problematic? I could do it less often (I'm thinking if images are not removed from the category), and also avoid doing it when nothing changes. Beao (talk) 15:53, 20 October 2023 (UTC)
- [1] Why is this updated so often? Krd 03:04, 19 October 2023 (UTC)
- Are Special:Diff/826638942 and Special:Diff/826649450 useful edits? --Krd 06:32, 1 December 2023 (UTC)
- @Beao: ? --Krd 13:53, 30 December 2023 (UTC)
- Not extremely useful, not completely useless. But okay, I will limit the updates more by rounding the stats to the nearest 100 or 1000. Beao (talk) 14:11, 30 December 2023 (UTC)
- @Beao: ? --Krd 13:53, 30 December 2023 (UTC)
- I think the usefulness of the edits haven't been shown at all. --Krd 09:10, 20 January 2024 (UTC)
- @Beao: Pls publish the source code so that we can see for any bugs.--Junior Jumper (formerly Tæ) 09:38, 20 February 2024 (UTC)
- Any additional opinions? --Krd 05:05, 7 March 2024 (UTC)
Approved. --Krd 09:04, 17 March 2024 (UTC)