Ivan_A_Krestinin created this task.
Ivan_A_Krestinin added projects: Dumps-Generation, Wikidata Lexicographical 
data.

TASK DESCRIPTION
  Non-empty "senses" and "forms" tags are presented as arrays in lexemes dumps. 
But empty lists are presented as objects.
  
  **How to reproduce**
  
  - Download 
https://dumps.wikimedia.org/wikidatawiki/entities/20220406/wikidata-20220406-lexemes.json.gz
  - Unpack it. The first 1 Mb is enough.
  - Try find "senses" tags.
  
  Non-empty tags are presented as arrays:
  
    "senses":[{"id":"L4-S1",...
  
  But empty tags are looked as objects:
  
    "senses":{}
  
  **Expected behavior**
  Empty lists should be presented as arrays also:
  
    "senses":[]

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

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

To: Ivan_A_Krestinin
Cc: #wikidata_lexicographical_data, Wikidata-bugs, Ivan_A_Krestinin, Busfault, 
jannee_e, holger.knust, Lunewa, Mahir256, Bodhisattwa, gnosygnu, Hokwelum
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to