Wikidata:Requests for permissions/Bot/Emijrpbot 2
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:40, 14 February 2017 (UTC)[reply]
Emijrpbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Emijrp (talk • contribs • logs)
Task/s:
It adds descriptions in Spanish, Catalan and Galician for instance of (P31) human (Q5) based on English description if available.
Code: github
Function details:
The script finds instance of (P31) human (Q5) without descriptions for es/ca/gl languages. Then it translates the English description into es/ca/gl using a table:
- Russian writer (male): escriptor rus (ca), escritor ruso (es), escritor ruso (gl)
- Russian writer (female): escriptora russa (ca), escritora rusa (es), escritora rusa (gl)
- See more translations in code
It detects gender by sex or gender (P21). It doesn't overwrite, it only fills blank descriptions. --Emijrp (talk) 14:34, 7 February 2017 (UTC)[reply]
- @Pasleim, Ymblanter: I see that some bots add one description per edit. I prefer to add all descriptions in just one edit, but what is prefered here by community? Emijrp (talk) 11:43, 10 February 2017 (UTC)[reply]
- I do not think there is any preference. I will wait for a couple of days and, provided there are no further comments, just approve the task.--Ymblanter (talk) 12:22, 12 February 2017 (UTC)[reply]