Commons:Batch uploading/Wikipedia Loves Art
Wikipedia Loves Art
Upload all the photos from the Wikipedia Loves Art photo pool on Flickr that have the machine tag "caption=yes".
This process actually involves several phases (each with its own script):
- The first script uses the Flickr API to examine all the photos in the pool, and copy all the relevant tags, comments, file info, and metadata into a local mySQL database. I utilized the phpFlickr class for most of this.
- The second script downloads all the appropriate Flickr photos from the pool at the highest resolution available.
- The third script attempts to create a unique human-readable filename for each photo by examining the tags and comments (too complicated to describe here).
- A fourth script lets humans review the filename suggestions and change them as appropriate. See Wikipedia:Wikipedia Loves Art/Filename review contest
- Once the filenames are approved, a fifth script renames all the files locally.
- The files are then batch uploaded to Commons with templates filled in according to the data stored in the mySQL database. This script is partially based on Eloquence's file upload script.
|Assigned to||Progress||Bot name|
|Kaldari (talk)||Phase 6 (partially complete)||File Upload Bot (Kaldari)|
Just a thought for future events: as the participants made two images of each object (one with an index card, one of the image for articles), it might be worth uploading both under the same filename. (First the one with the index card obviously). This could help identification later. As once in a while there are questions about the colors of paintings, it might be worth taking the first picture with an index card and a color chart. -- User:Docu at 07:22, 23 September 2009 (UTC)