daniel edited the task description. (Show Details) |
EDIT DETAILS
* If no mapping is known, we store the "chained" version of the ID (`foo:d:Q5`) locally. There's really nothing else we could do. If we send this kind of ID to yet another repo, that may result in longer "chains" of prefixes, like `xyz:foo:d:Q5`.
* 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 now, that mapping is resolved when loading the item.
...
* 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 "chained" version of the ID (`foo:d:Q5`) locally. There's really nothing else we could do. If we send this kind of ID to yet another repo, that may result in longer "chains" of prefixes, like `xyz:foo:d:Q5`.
* 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 now, that mapping is resolved when loading the item.
...
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: Jakob_WMDE, WMDE-leszek, Ricordisamoa, jayvdb, aude, JeroenDeDauw, Jonas, JanZerebecki, adrianheine, thiemowmde, Aklapper, daniel, D3r1ck01, Izno, Wikidata-bugs, Mbch331
Cc: Jakob_WMDE, WMDE-leszek, Ricordisamoa, jayvdb, aude, JeroenDeDauw, Jonas, JanZerebecki, adrianheine, thiemowmde, Aklapper, daniel, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs