Wikidata:Requests for permissions/Bot/Symac bot 7
From Wikidata
Jump to navigation
Jump to search
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:05, 12 December 2014 (UTC)[reply]
Symac bot 7[edit]
Symac bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Symac (talk • contribs • logs)
Task/s: add member of sports team (P54) for rugbymen using the information found in infoboxes on French language Wikipedia
Code: gist
Function details: I have harvested from fr.wikipedia a list of 3,857 rugbymen and for each, the script I have developped will :
- get all clubs + seasons in the infobox
- for each pair, check if the member of sports team (P54) is already on the wikidata item. If not, add it with its qualifiers (start time (P580) and end time (P582)). If the member of sports team (P54) is already present, we even try to add the qualifiers if they are not present.
- add a occupation (P106) with rugby player (Q13415036) if none is present
See some examples :
Let me know if you need any precision. --Symac (talk) 22:09, 19 November 2014 (UTC)[reply]
- can no opposition for 9 days be considered as an approval ? Symac (talk) 10:04, 28 November 2014 (UTC)[reply]
- If in frwiki no end date and no hyphen after the starting date is present, you might as well add end time (P582) as qualifier with the same value as in start time (P580). E.g. look at fr:Rudi Coetzee. For Golden Lions and Bulls you could add the end date but not for FC Grenoble. --Pasleim (talk) 10:44, 28 November 2014 (UTC)[reply]
- Are we ready for approval here?--Ymblanter (talk) 16:50, 9 December 2014 (UTC)[reply]
- Hadn't time to answer to Pasleim but I will add that test to my bot before running it, so there doesn't seem to be other oppositions. Symac (talk) 08:40, 10 December 2014 (UTC)[reply]
- Let us wait for a day, if there have been no objections, I will approve the task.--Ymblanter (talk) 06:52, 11 December 2014 (UTC)[reply]
- Hadn't time to answer to Pasleim but I will add that test to my bot before running it, so there doesn't seem to be other oppositions. Symac (talk) 08:40, 10 December 2014 (UTC)[reply]