lubianat / wikidata_covid19

A repository for activities related to the Wikidata Wikiproject COVID-19
MIT License
2 stars 0 forks source link

Improvement suggestion #7

Open dpriskorn opened 3 years ago

dpriskorn commented 3 years ago

Hi is this the code for CovidDatahubBot? If yes I suggest to use wikibaseintegrator instead as it is better maintained than wikidataintegrator. I suggest to only to one write like I do in Wikidata:LexUse to avoid poluting the edit log with 3 edits per number. Cheers

lubianat commented 3 years ago

Hello @egils-consulting ,

The code that is actually running is here: https://github.com/lubianat/wikidata_covid19/blob/master/sandbox/wikipedia_case_import/pywiki_import.py

Any pull requests or tips to update are very welcome. I have switched to Pywikibot, and I have not figured out how to avoid poluting the edit logs .

dpriskorn commented 3 years ago

Thanks 😃 I recently reviewed and compared the code of pywikibot and wikibaseintegrator. The latter seems much better from my POW. I used in my latest project LexUse and the maintainer Myst is very friendly and cooperative and on Telegram too. See my code here which results in one edit only: https://github.com/egils-consulting/LexUse/blob/master/util.py#L228