Wikidata:Requests for permissions/Bot/Miguillen-bot
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. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 07:01, 13 August 2014 (UTC)[reply]
Miguillen-bot edit
Miguillen-bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Miguillen (talk • contribs • logs)
Task/s:
- Import coordinates from Spanish Wikipedia.
- Creation of Wikidata Item to pages of Spanish Wikipedia not linked in Wikidata or add the link to an item if it exists.
Code: https://github.com/Miguillen/Miguillen-bot/tree/master
Function details: --Miguillen (talk) 18:39, 22 July 2014 (UTC)[reply]
- Transcluded the request for you Special:Diff/148441845 -- Bene* talk 16:56, 30 July 2014 (UTC)[reply]
- Any comments here?--Ymblanter (talk) 13:55, 11 August 2014 (UTC)[reply]
- Some test edits would be nice.--Pasleim (talk) 13:20, 12 August 2014 (UTC)[reply]
- There are 1654 editions to see how it works.--Miguillen (talk) 13:53, 12 August 2014 (UTC)[reply]
- The bot coordinates extracted from the pages of Wikipedia in Spanish through GeoData. Pages list is a category in which a infovok automatically adds pages that have coordinates and these are not in Wikidata [1]
- There are 1654 editions to see how it works.--Miguillen (talk) 13:53, 12 August 2014 (UTC)[reply]
- Some test edits would be nice.--Pasleim (talk) 13:20, 12 August 2014 (UTC)[reply]
- The bot first checks whether the item exists in Wikidata.
- If the item does not exist, the program asks if it should be created and awaits a response.
- if the answer to a question is yes, creates the item introducing the Spanish and English label and the link to the Spanish Wikipedia.
- Check if the item already exists clain P625
- Checks if exist coordinates in title in the page of Wikipedia (GeoData).
- My latest release also reads the coordinates of the Infovox if not shown in the title and transformed into DEC format (latitude and longitude in degrees).
- The program asks again whether to add clain and is awaiting a response.
- In both cases the possible answers are: sí (yes), not todo (all), cerrar (exit).
- For now, in any case I haven't used the option all. Before creating a new item I try to manually search if there are others to link them.
- I thought about doing that bot will check exist whether other item by a searching, but that task proved more complex than I thought because the own Wikipedia in Spanish I found several instances of duplicate articles or case in other projects is in one article that the Spanish Wikipedia is in two article or viceversa.
- For that reason the bot in any case only create item if monitored by me and in case of operating in automatic mode where there is no element in Wikidata would be omitted.--Miguillen (talk) 14:40, 12 August 2014 (UTC)[reply]
- Support Looks good to me.--Pasleim (talk) 15:04, 12 August 2014 (UTC)[reply]
- For that reason the bot in any case only create item if monitored by me and in case of operating in automatic mode where there is no element in Wikidata would be omitted.--Miguillen (talk) 14:40, 12 August 2014 (UTC)[reply]
- Support --Zerabat (talk) 15:41, 12 August 2014 (UTC)[reply]