WikibaseImport icon indicating copy to clipboard operation
WikibaseImport copied to clipboard

Issue #36

Open D063520 opened this issue 6 years ago • 3 comments

Entity is also imported if there exists already an entity with the same label in one language.

D063520 avatar Feb 22 '19 09:02 D063520

Entity is also imported if there exists already an entity with the same label in one language.

Can you clarify whether that’s the current behavior (without the PR) or the one introduced by this PR? At least when I used WikibaseImport in combination with WikibaseQualityConstraints, I wanted entities to not be imported if they already existed.

lucaswerkmeister avatar Feb 26 '19 20:02 lucaswerkmeister

This is the new behavior. The problem was that in Wikidata there are different entities with exactly the same label in at least one language. See the corresponding issue for an example. So he import was prevented. If the entity was already imported from Wikidata it will not be imported again since the tool keeps track of the already imported entities in the database. If the user has created already an entity with the same name he must merge the entities afterwards I would say. But preventing the import at all will not help, or?

D063520 avatar Feb 27 '19 07:02 D063520

Hi,

can we discuss more about this commit .... My problem is that I cannot import some entities like the EU on a fresh installation which is something I really would expect to work. The reason is that two properties of EU with different Q-id have the same label in some strange language, namely latvisk. This is the workaround I found. Entities with the same Q in wikidata will NOT be reinserted!

D063520 avatar Jun 11 '19 13:06 D063520