Wikidata:Requests for permissions/Bot/JoRobot 6
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) 18:40, 16 April 2020 (UTC)[reply]
JoRobot 6 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 persons from the Catalan Wikipedia into Wikidata
Code: https://github.com/WikimediaCAT/plantilles/tree/master/persona
Function details: I am following on with the project to adapt most Infoboxes in the Catalan Wikipedia to be Wikidata-driven. I am dealing with persons now (previous runs went for living organisms and places). If I find an image in the process, and Wikidata doesn't have it, I will upload it, and update the image description in Catalan, if I have one. The code is an evolution of what I ran for my previous 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.
I have done some test runs:
- adding an image without a legend
- adding a legend to an existing image
- adding a legend to an existing image
--Joutbis (talk) 17:33, 12 April 2020 (UTC)[reply]
- Looks good to me, I can approve the bot in a couple of days provided no objections have been raised.--Ymblanter (talk) 19:04, 14 April 2020 (UTC)[reply]