[Wikidata-bugs] [Maniphest] T303760: MediaInfo JSON and Lua data missing datatype information in snaks

2022-03-14 Thread Bugreporter
Bugreporter closed this task as a duplicate of T246809: Inconsistencies between Wikidata and Structured Data about Snak's "datatype" from wbgetentities API results. TASK DETAIL https://phabricator.wikimedia.org/T303760 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/email

[Wikidata-bugs] [Maniphest] T303760: MediaInfo JSON and Lua data missing datatype information in snaks

2022-03-14 Thread LucasWerkmeister
LucasWerkmeister added a comment. T222159: WikibaseMediaInfo serializes empty statements as empty array [] instead of empty object {} in JSON probably has the same underlying cause as well. TASK DETAIL https://phabricator.wikimedia.org/T303760 E

[Wikidata-bugs] [Maniphest] T303760: MediaInfo JSON and Lua data missing datatype information in snaks

2022-03-14 Thread LucasWerkmeister
LucasWerkmeister added a comment. > I suspect this is due to T149410: For consistency MediaInfo serialization should use "claims" as key, rather than "statements" : Wikibase probably goes through the serialization and adds the `datatype` below `clai

[Wikidata-bugs] [Maniphest] T303760: MediaInfo JSON and Lua data missing datatype information in snaks

2022-03-14 Thread LucasWerkmeister
LucasWerkmeister created this task. LucasWerkmeister added projects: Wikidata, SDC-Statements. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Structured-Data-Backlog. TASK DESCRIPTION **List of steps to reproduce** (step by step, including full links