- 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.
- Not done @Ivanhercaz: This request seems to be abandoned, please reopen it if that is not the case. Thanks. Mike Peel (talk) 20:15, 21 July 2020 (UTC)[reply]
CanaryBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Ivanhercaz (talk • contribs • logs)
Task/s: set labels, descriptions and aliases in Spanish to properties without them in Spanish.
Code: the code is available in PAWS, it is a Jupyter IPython notebook. But when I have time I will upload the ipynb and py file to CanaryBot repo in GitHub.
Function details:
Well, this task that I am requesting is very similar to the first task that I requested, but I asked to Ymblanter for an opinion about it, and after that he/she recommend me to request a new task because, as Ymblanter said, I am going to use a new code because in this case I am going to set labels, descriptions and aliases in properties, nor in items as I did in my last task.
In addition, this scripts works differently: I extracted all the properties without label and description in Spanish, or both, and then I mixed both in one CSV in which I am filling the cells with their respective translations. When I will have all the cells I will run the script, which will read each row, check if the property has labels, descriptions and aliases in Spanish, if not, the script will add the content of their respective cells.
I have to test and improve some things of the script. It is very basic, but it works for what I want to do. I make a log of everything to knows how to solve an error if it happens.
Well, I await your answers and opinions. Thanks in advance!
Regards, Ivanhercaz (Talk) 23:45, 10 May 2018 (UTC)[reply]
- I improved the code: some stats, log report fixed... I think it is ready to run without problems. What I need now is to finish the translations of the properties. I await your opinions about this task. Regards, Ivanhercaz (Talk) 15:54, 12 May 2018 (UTC)[reply]
- I am ready to approve the bot task in a couple of days, provided that no objections will be raised. Lymantria (talk) 06:54, 13 May 2018 (UTC)[reply]
- Could you link the test edits? I only find Portuguese.
--- Jura 16:24, 13 May 2018 (UTC)[reply]
- Of course Jura, I think I shared the contributions in test.wikidata, but not, excuse me. I think that you refered to the edits in Portuguese that my bot made with its first task. In this case I only work with Spanish labels, descriptions and aliases. You can check my last contributions in test.wikidata. I checked the edit summary was wrong because it was "setting es-label" for all, I mean when the bot change a description, an alias or a label; I just fixed it and now it show the correct summary, as you can see in the last three editions. But I have find a bug that I have to fix: if you check this diff, you can see how the bot replaced the existing alias for the new, and what I want is to append the new aliases and keep the old aliases, so I have to fix it.
- I am not worry about the time or if the task is accepted now or in the future, I just wanted to propose it and talk about how it would work. But, being sincere, I have to fill the CSV file yet, so I have many time to fix this type of errors and improve it. For that reason I requested another task.
- Regards, Ivanhercaz (Talk) 17:19, 13 May 2018 (UTC)[reply]
- For bot approvals, operators generally do about 50 or more edits here at Wikidata. These "test edits" are expected to be of standard quality.
--- Jura 17:23, 13 May 2018 (UTC)[reply]
- I know Jura, but I can make the test edits in Wikidata without authorization or the request of someone because this task is not approved. Well, as you are requesting me these test edits, when the aliases bug has been solved I will run the bot in Wikidata to report here if it works fine or not. Regards, Ivanhercaz (Talk) 17:29, 13 May 2018 (UTC)[reply]
- I fixed the bug of the aliases, as you can check here. I will notify you, Jura, when I have done the test edits in Wikidata and not in test.wikidata. Regards, Ivanhercaz (Talk) 18:26, 13 May 2018 (UTC)[reply]
- @Jura1, Ymblanter: Today I could only make a few test edits. I will make more in the next days to check it better. Regards, Ivanhercaz (Talk) 18:15, 14 May 2018 (UTC)[reply]
- I forgot to share with you the log and if you check the notebook you can see the generated graph. Regards, Ivanhercaz (Talk) 18:26, 14 May 2018 (UTC)[reply]
The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- @Mike Peel: Hi. Excuse me a lot for not having response to you after you marked as not done. I have been a lot of busy and I could not invest time and effort in this one. I hope to try it soon, but I can not promise when, so I think the best is to keep this task as it is. I still have this idea. The next time I could do it, should I open a new request for permission or just reopen this one? Regards, Ivanhercaz (Talk) 16:58, 29 September 2020 (UTC)[reply]
- @Ivanhercaz: Up to you, I think it's OK to re-open this if you want (and I won't oppose it, I only closed this as it was stale), or start a new one. Thanks. Mike Peel (talk) 17:03, 29 September 2020 (UTC)[reply]
- @Mike Peel: Nice! Thank you. And excuse me for writing in the closed/archived discussion. Regards, Ivanhercaz (Talk) 17:40, 29 September 2020 (UTC)[reply]