Wikidata:Requests for permissions/Bot/JoRobot 5
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 19:58, 26 September 2019 (UTC)[reply]
JoRobot 5 edit
JoRobot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Joutbis (talk • contribs • logs)
Task/s: Importing images for geographical entities from the Catalan Wikipedia into Wikidata
Code:
Function details:We are adapting infoboxes in the Catalan Wikipedia to be mostly Wikidata-driven. During this restructuring, I have found several images and I would like to upload them into Wikidata, updating the image description. The code is mostly what I ran for this task. It checks if the image is already in Wikidata, watching for redirections. If it is not, it loads the image with the legend (if any) into Wikidata image (P18). If the image already exists and the original infobox has a legend, only the media legend (P2096) qualifier is updated. Before uploading the text, I remove any wikisyntax it may have, as was suggested in a previous task.
The list of items (originally a little over 3000) that will be updated can be checked in the following links:
- ca:Usuari:JoRobot/Infotaula_geografia_política/1
- ca:Usuari:JoRobot/Infotaula_geografia_política/2
- ca:Usuari:JoRobot/Infotaula_geografia_política/3
- ca:Usuari:JoRobot/Infotaula_geografia_política/4
- ca:Usuari:JoRobot/Infotaula_geografia_política/5
- ca:Usuari:JoRobot/Infotaula_geografia_política/6
- ca:Usuari:JoRobot/Infotaula_geografia_política/7
I have done some pre-processing to remove images that weren't really pictures, such as location maps. I have also found some 126 logos of French intercommunal organizations which I planned to upload into Wikidata in logo image (P154). The list is here. However, after some tests, I discovered that only half a dozen of them are in Commons, and the rest are non-free. So, only the free ones will be updated.
I have done some test runs, you can see them:
--Joutbis (talk) 17:02, 21 September 2019 (UTC)[reply]