Nikki added a comment.

  My guess would be that it's returning `und` for any language where the 
lexeme's language item does not have a `P218` (ISO 639-1 code) statement. Test 
Wikidata doesn't have the same properties, let alone the same statements, so it 
would never find a code there, whereas on Wikidata itself it only affects the 
languages without ISO 639-1 codes.
  
  Another example 
<https://www.wikidata.org/w/api.php?action=wbsearchentities&search=wee&language=en&uselang=en&type=lexeme>
 which has Scots (ISO 639-3 `sco`) and Northern Frisian (ISO 639-3 `frr`) and 
yet another 
<https://www.wikidata.org/w/api.php?action=wbsearchentities&search=acca&language=en&uselang=en&type=lexeme>
 which has Australian English (IETF language tag `en-au`) all showing up as 
`und`.

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

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

To: Nikki
Cc: Nikki, LucasWerkmeister, darthmon_wmde, Nandana, Mringgaard, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to