[Wikidata-bugs] [Maniphest] [Edited] T133381: Add support for foreign entities to EntityId

2016-09-21 Thread daniel
daniel edited the task description. (Show Details) EDIT DETAILS...* During deserialization data from another repo, we always add the name of the source repo as a prefix, and then resolve any known mappings: `d:Q5`-from-foo becomes `foo:d:Q5` and then `wd:Q5`. * If no mapping is known, we store the

[Wikidata-bugs] [Maniphest] [Edited] T133381: Add support for foreign entities to EntityId

2016-09-21 Thread daniel
daniel edited the task description. (Show Details) EDIT DETAILS...* During deserialization data from the local database, we don't add any prefix, but we still esolve any known mappings. If `foo:d:Q5` was stored earlier because there was no mapping defined for `foo:d` then, but there is a mapping no

[Wikidata-bugs] [Maniphest] [Edited] T133381: Add support for foreign entities to EntityId

2016-09-21 Thread daniel
daniel edited the task description. (Show Details) EDIT DETAILS...* The repo name in an EntityId object can always be assumed to match the local definition of that name. A repo name in serialized data however cannot be interpreted without knowing which repo it came from. When receiving prefixed en

[Wikidata-bugs] [Maniphest] [Edited] T133381: Add support for foreign entities to EntityId

2016-04-22 Thread daniel
daniel edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T133381 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: aude, JeroenDeDauw, Jonas, JanZerebecki, adrianheine, thiemowmde, Aklapper, daniel, D3r1ck01, Izno, W

[Wikidata-bugs] [Maniphest] [Edited] T133381: Add support for foreign entities to EntityId

2016-04-22 Thread daniel
daniel edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T133381 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: Jonas, JanZerebecki, adrianheine, thiemowmde, Aklapper, daniel, D3r1ck01, Izno, Wikidata-bugs, aude,