Commons:Bots/Requests/Gzen92Bot-6

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Operator: Gzen92 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: File upload from gallica.bnf.fr

Automatic or manually assisted: Automatic.

Edit type (e.g. Continuous, daily, one time run): Occasionally.

Maximum edit rate (e.g. edits per minute): About 20.

Bot flag requested: (Y/N): Nothing.

Programming language(s): PHP
After Commons:Bots/Requests/Gzen92Bot-4, I continued to upload files from Gallica (Category:Bibliothèque nationale de France), using the parameter "any fayes" = royalty free document (see API), without requesting bot authorization (the infobox is formatted the same).
But there is a problem with categories (see blocking Commons:Village pump#Obtuse bot created categories).
When to create a category? 2, 5, 10 files from the same id?
How to name the category? File name or only the id?
Without being able to answer this question automatically (there are a few million files available at the BnF), I will simply leave them in Category:Images from Gallica and Category:Files from Gallica needing categories (images). See 10 files uploaded.
Gzen92 (talk) 17:20, 1 November 2024 (UTC)[reply]

Discussion
Some topical categorization should be determined for every file uploaded, in addition to merely adding a source category.
Before uploading any new file. A cleanup plan for the thousand of categories created before (Commons:Village pump#Obtuse bot created categories) needs to be found and implemented (by the uploader or somebody else).
 ∞∞ Enhancing999 (talk) 08:11, 2 November 2024 (UTC)[reply]
No problem for this action, if it is the target. Gzen92 (talk) 10:12, 2 November 2024 (UTC)[reply]
Please outline your cleanup plan for the existing categories.
 ∞∞ Enhancing999 (talk) 11:38, 2 November 2024 (UTC)[reply]
I don't think this is the place to talk about this but it is easy to take the files out of the subcategories of Category:Files from Gallica needing categories (images) and put them in Category:Images from Gallica and Category:Files from Gallica needing categories (images).
The categories can be deleted easily (I don't have the bot permission to do that).
But I still think it's good to group the files, even if the category name could be improved.
Gzen92 (talk) 22:00, 2 November 2024 (UTC)[reply]
As a bot operator, I'd expect you to fix problems you created before potentially creating more of them. If you can't present a plan for your past uploads, I don't think this request should be approved. Commons is not a place to dump uncategorized files.
 ∞∞ Enhancing999 (talk) 10:43, 3 November 2024 (UTC)[reply]
Topical categorisation is not required, see Commons:Guide_to_batch_uploading#Categories. Also, before a "cleanup plan" has to be presented, clear arguments have to be presented as to why those existing categories are a problem. ~TheImaCow (talk) 22:04, 2 November 2024 (UTC)[reply]
Which part are you referring to? Uploaders are required to add categories. Merely adding a user category isn't sufficient.
 ∞∞ Enhancing999 (talk) 10:43, 3 November 2024 (UTC)[reply]
Section "Putting it into action" -> "every file you upload should have: a tracking/source category, Your files can have: topic categories". A source category + a {{Check categories}} (substituted with the "category needed" category here) is sufficient. ~TheImaCow (talk) 13:57, 3 November 2024 (UTC)[reply]
If we agree that both categories are enough, should we create categories to group files or not? For example this category includes a whole book but the name is long. Gzen92 (talk) 21:44, 3 November 2024 (UTC)[reply]