SuLab / WikidataIntegrator

A Wikidata Python module integrating the MediaWiki API and the Wikidata SPARQL endpoint
MIT License
244 stars 46 forks source link

You can't remove aliases, only add new. #114

Open LeMyst opened 4 years ago

LeMyst commented 4 years ago

The set_aliases function take a list of strings as parameters, check if the alias already exist or not and add the missings one to the list. At the moment, we can't (afaik) remove alias on an item.

I propose two options (breaking changes) :

I don't know which one is better, but atm we don't have any add or rem functions, only get and set.

This issue is open for comments. :wink:

LeMyst commented 4 years ago

Another issues with the aliases: