[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Jan Zerebecki jan.wikime...@zerebecki.de changed: What|Removed |Added See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=72038 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Daniel Kinzler daniel.kinz...@wikimedia.de changed: What|Removed |Added Blocks|62188 |71170 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Jan Zerebecki jan.wikime...@zerebecki.de changed: What|Removed |Added See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=73308 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 tobias.gritschac...@wikimedia.de changed: What|Removed |Added Status|ASSIGNED|PATCH_TO_REVIEW -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 tobias.gritschac...@wikimedia.de changed: What|Removed |Added Whiteboard|u=dev c=backend p=0 |u=dev c=backend p=0 |s=2014-10-28|s=2014-11-11 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Jan Zerebecki jan.wikime...@zerebecki.de changed: What|Removed |Added CC||jan.wikime...@zerebecki.de --- Comment #3 from Jan Zerebecki jan.wikime...@zerebecki.de --- https://github.com/wmde/WikibaseDataModel/pull/272 https://github.com/wmde/WikibaseDataModelSerialization/pull/97 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 --- Comment #2 from Jan Zerebecki jan.wikime...@zerebecki.de --- Additional requirement: We want to have a facility that can test if an object has inferred information like language fall back and thus should not be written into the database. So that we can easily ensure that at runtime instead of only by code review. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Adrian Lang adrian.l...@wikimedia.de changed: What|Removed |Added Blocks|72418 | -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 tobias.gritschac...@wikimedia.de changed: What|Removed |Added Status|NEW |ASSIGNED CC||tobias.gritschacher@wikimed ||ia.de Whiteboard|u=dev c=backend p=0 |u=dev c=backend p=0 ||s=2014-10-28 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Adrian Lang adrian.l...@wikimedia.de changed: What|Removed |Added Blocks||72418 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 --- Comment #1 from Adrian Lang adrian.l...@wikimedia.de --- After a discussion today we agreed to the following: * The data model has to have knowledge of the fact that an entity can have a term for another language than the term is in * The data model serializers and deserializers have to have knowledge of the fact that there are language fallbacks Premises: * We want to provide a view on our data which includes for example language fallbacks (for the API, for wbEntity, …) * We want to enable users (for example the JavaScript frontend code) to work with these views * Data model deserializers should return data model objects * Data model deserializers should not lose information Necessary steps: * Make TermList a TermMap * Make TermMap::_construct respect the keys of its parameter * Make TermMap::setTerm expect a language parameter (adapt callers in DM) * Make EntityDeserializer::deserializeValuePerLanguageSerialization respect and pass the keys * Make EntityDeserializer::setAliasesFromSerialization respect and pass the keys * Make EntityDeserializer::assertIsValidValueSerialization assert on the key * Make FingerprintSerializer::serializeValuePerLanguageArray (and everybody above it) aware of the fact that there are different ways to serialize a map of terms (with and without keys, with and without fallback terms included) * Write high-level, implementation-independent documentation on this decision -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 Daniel Kinzler daniel.kinz...@wikimedia.de changed: What|Removed |Added CC||daniel.kinz...@wikimedia.de Blocks||62188 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 72183] New serialization code needs to support language fallback
https://bugzilla.wikimedia.org/show_bug.cgi?id=72183 John F. Lewis johnflewi...@gmail.com changed: What|Removed |Added Priority|Unprioritized |Normal CC||johnflewi...@gmail.com Whiteboard||u=dev c=backend p=0 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l