thiemowmde added a comment.

  @daniel's summary misses an option:
  
  1.
    1. `{ "id": "foo:Q184" }`, but a local ID would still be `{ "id": "Q1" }`. 
Main advantage: Repos like wikidata.org would not change at all when the 
software starts supporting such prefixed external IDs everywhere (not only in 
the data value we discuss here).
    2. Same, but local IDs would also be prefixed, e.g. `{ "id": "d:Q1" }`. 
Advantage: The fact that IDs can be prefixed is explicit and obvious and can 
not be ignored. That's also a disadvantage: User code will break even when the 
repo the user cares about does not have external ids.
  2. `{ "id": "Q184", "repo": "foo" }`. Main disadvantage: This **changes** the 
meaning of the existing "id" field.
  
  I tend to agree that option 1.A is the best.
  
  We continued discussing edge cases that involve colons in entity IDs. 
Solution: Prefix local IDs with a colon when they contain colons, e.g. `{ "id": 
":Q1:2" }`. We can and I think we should have support for this right away when 
we start working on this.

TASK DETAIL
  https://phabricator.wikimedia.org/T56085

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: adrianheine, Tobi_WMDE_SW, Tpt, thiemowmde, hoo, Jimkont, Ricordisamoa, 
Sumit, Lucie, Aklapper, Wikidata-bugs, Denny, JeroenDeDauw, Lydia_Pintscher, 
daniel, D3r1ck01, Izno, aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to