After a lot of activity in WikiTree-WikiData connections, I came up with a way to make the connection between the sites on WikiTree. We already have a template https://www.wikitree.com/wiki/Template:Wikidata.
It is used like {{Wikidata|Q1234}} to display a link to Wikidata. You can add Wikipedia language as the second unnamed parameter like {{Wikidata|Q1234|enwiki}} and a link to associated wikipedia article will be displayed. Until now enwiki was a default, but since we now have Wikidata items without Wikipedia articles enwiki is no longer a default (I will change that soon). To display a wikipedia link, you have to add the language.
That works for any page not just for people.
Now to the suggested change: To distinguish between the links to the person, relatives and other things, I will add the sameas parameter with the similar functionality as on the FindAGrave template. You will be able to add:
- {{Wikidata|Q1234|sameas=yes}} or {{Wikidata|Q1234|enwiki|sameas=yes}} That would mean that item Q1234 represents the same person as the profile. I would automatically connect the pages on wikidata even if the data doesn't match. It would be done each week after the dump.
- {{Wikidata|Q1234|sameas=no}} or {{Wikidata|Q1234|enwiki|sameas=no}} That would mean I will ignore the link. It is a link to a relative or anything else.
- Without sameas parameter, I would do the existing logic to check if Q1234 item is a person and enough data matches between a profile and wikidata item.