Commons:Bots/Work requests

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

Shortcut: COM:BR · COM:BWR

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot · Changes to allow localization  · Requests for batch uploads
Gnome-system-run.svg


Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day.

Template:Taken on[edit]

There's a nice big category tree for photos by the date when they were taken (today's is Category:Photographs taken on 2017-07-21), and lots of images are in that tree, but some are there because the category's invoked manually, while others have it invoked by {{Taken on}}. Could someone write a bot to replace manual with the template, when applicable? I was imagining the bot starting with a database dump, finding the files with the manual coding, and doing the following with them:

  • Does the file transclude {{Information}}? If not, skip.
  • Is there a recognisable date in the template's |Date parameter? This is either the YYYY-MM-DD date or something else that's bot recognisable, e.g. "D month YYYY" as was fixed by a bot in this edit. If there's no date in the parameter, skip.
  • Is there anything else in the parameter? If not, go on; if there is, skip.
  • Is the date in the parameter identical to the date of the category? If not, mark with a template saying that something's wrong with the date, and human review is needed.
  • And finally, if the parameter has a date identical to that of the category, remove the category and replace the date with {{Taken on|YYYY-MM-DD}}

Tons of images should have this category added, but this isn't a good bot task because a bot can't distinguish between photos and non-photos, so this is the best we can do as far as I can see. Nyttend (talk) 18:52, 24 June 2017 (UTC)

adding id number from metadata[edit]

I need that a bot add info from metadata to template already exist in a file. It is about files in Category:GPO (Israel) media without a digital ID. The id missing number exist in the file's metadata = "Short title" and starts with "D". The id number should be added to {{GPO Israel-image|id=}}. If there is a way to do so in other way (like AWB) please let me know. -- Geagea (talk) 01:29, 25 June 2017 (UTC)

✓ Done using Help:VisualFileChange.js/samples#Inserting_variables. --Steinsplitter (talk) 17:57, 26 June 2017 (UTC)
Steinsplitter, thank you very much. I'll try to lern this. -- Geagea (talk) 19:03, 26 June 2017 (UTC)

UKB Files[edit]

Please someone by using bot upload here pdf files from http://digitalna.kniznica.info/browse (all files are in CC0). --Walter Klosse (talk) 16:24, 25 June 2017 (UTC)

Pictogram-voting-question.svg Question: Walter, how many of the 65000+ files do you have in mind? --Achim (talk) 20:11, 25 June 2017 (UTC)
That's a GLAM project, not a bot task. I asked Fae for some input. --Hedwig in Washington (mail?) 11:51, 26 June 2017 (UTC)
Replying to the ping, I'm not convinced these are all public domain with some being post year 2000. Considering there are greater than 10,000 files, and that they are PDFs, so to be reviewed in any detail, someone would have to page through each PDF to check for copyright statements, any analysis would have to take care to test the range of dates and publication types. It could be that a mass upload project can be set out which filters by date and/or publisher.
So, HiW is right, this is a GLAM project and the best next step for anyone pushing for these uploads is to take the time to set out a project page that explains how this works. I suggest starting a more detailed request with filter suggestions as a new request at COM:BATCH. -- (talk) 14:01, 26 June 2017 (UTC)
agree. --Achim (talk) 17:15, 26 June 2017 (UTC)