Commons:Bots/Requests/PomologicalBot
Operator: ParkerHiggins (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: Uploading the 7,584 public domain images in the USDA's Pomological Watercolor Collection.
Automatic or manually assisted: Automatic
Edit type (e.g. Continuous, daily, one time run): One time run
Maximum edit rate (e.g. edits per minute): Based on file size, probably no more than 1
Bot flag requested: (Y/N): Y
Programming language(s): Python
ParkerHiggins (talk) 05:35, 20 May 2015 (UTC)
Discussion
- Please make test run. --EugeneZelenko (talk) 14:02, 21 May 2015 (UTC)
- There seem to have been some reuploads of identical images. Has the problem already been identified? --Krd 19:01, 6 June 2015 (UTC)
As there is no progress and no response to questions, I'm going to close this as stale for now. --Krd 16:40, 28 June 2015 (UTC)
- Reopened on request. --Krd 10:27, 24 August 2015 (UTC)
- Test run of 40 uploads performed yesterday. Some of the early edits are identical or near-identical reuploads, just to confirm that the script was still working as expected after a few months. ParkerHiggins (talk) 15:24, 24 August 2015 (UTC)
- Please ensure by program code that no image is uploaded more than once, and that no existing image is overwritten. --Krd 18:31, 24 August 2015 (UTC)
- Confirmed. The images are numbered sequentially and the program has the ability to start at any index. (The test run was conducted in three discrete batches, to verify that.) ParkerHiggins (talk) 19:55, 24 August 2015 (UTC)
- And to clarify, I have updated the code to prevent it from overwriting any existing images, though given the naming scheme I don't expect to encounter any if I'm starting from the next index. ParkerHiggins (talk) 21:02, 24 August 2015 (UTC)
- Is it possible to add content into file name?
- If collection consist of agricultural species paintings, is it possible to add something like Category:Paintings of apples during upload?
- Date is not always in right format (File:Pomological Watercolor POM00000022.jpg).
- Please use language templates for Author field.
- EugeneZelenko (talk) 14:07, 25 August 2015 (UTC)
- Thank you for the questions! Answering them in order:
- It is possible of course to name the files whatever we like, but I think it makes most sense to have them mirror the naming convention the USDA itself uses. For one thing, the metadata is pretty inconsistent among the images, so you couldn't reliably add much content; morever, doing it this way will make it easy to map back and forth in case an image somehow gets separated or downloaded into some other context.
- The category thing is a great idea and yes, I've added that. Some of these uploads may be the first in a category (like, Category:Paintings of avocados is currently empty, which is a shame) but I think that's ok.
- Can you point me to info on how to best do formatting? The data set includes paintings that have specific dates such as the one you highlighted, and also ones with varying levels of precision, so I'll have to accommodate those different levels.
- I think {{ISOdate}} is best source of information. --EugeneZelenko (talk) 14:03, 26 August 2015 (UTC)
- Of course, and thank you for noting the oversight. New uploads will include language tags on each of the Authors.
- ParkerHiggins (talk) 05:35, 26 August 2015 (UTC)
- Hi there! I've uploaded a few more images. I've re-worked the description a little bit to add a bit more information from the metadata I have, including geographic origin, as well as adding the categories, putting in ISOdate formatted dates, and language tags around the author. Pomological Watercolor POM00000046.jpg is a good example of a file with all those changes in place. ParkerHiggins (talk) 05:22, 29 August 2015 (UTC)
- Looks OK for me. --EugeneZelenko (talk) 13:56, 29 August 2015 (UTC)
- Alright! Forgive me, this is my first bot, but what happens next here? Do we wait for anybody else who may want to review? ParkerHiggins (talk) 15:26, 29 August 2015 (UTC)
- I'll add call for last comments. --EugeneZelenko (talk) 14:20, 30 August 2015 (UTC)
- Alright! Forgive me, this is my first bot, but what happens next here? Do we wait for anybody else who may want to review? ParkerHiggins (talk) 15:26, 29 August 2015 (UTC)
- Looks OK for me. --EugeneZelenko (talk) 13:56, 29 August 2015 (UTC)
- Hi there! I've uploaded a few more images. I've re-worked the description a little bit to add a bit more information from the metadata I have, including geographic origin, as well as adding the categories, putting in ISOdate formatted dates, and language tags around the author. Pomological Watercolor POM00000046.jpg is a good example of a file with all those changes in place. ParkerHiggins (talk) 05:22, 29 August 2015 (UTC)
- Please ensure by program code that no image is uploaded more than once, and that no existing image is overwritten. --Krd 18:31, 24 August 2015 (UTC)
If there are no objections, I think bot status should be granted. --EugeneZelenko (talk) 14:20, 30 August 2015 (UTC)