In order to make the output more usable/open for developers, Lestrade should make the @ref attribute of an entity point to the Wikidata URL for that entity instead.
It would not be appropriate to include both, since according to TEI P5:
The value must point directly to one or more XML elements or other resources by means of one or more URIs, separated by whitespace. If more than one is supplied the implication is that the name identifies several distinct entities
Done. There is now an option in settings.json called "tei_index_ref_type" which defaults to "Wikidata QID." Setting it to anything else will result in the old behavior. This should get documented.
In order to make the output more usable/open for developers, Lestrade should make the @ref attribute of an entity point to the Wikidata URL for that entity instead.
It would not be appropriate to include both, since according to TEI P5: