Nikki added a comment.

  Note that we already use `sr-ec` and `sr-el` for terms (see language stats 
<https://www.wikidata.org/wiki/User:Mr._Ibrahem/Language_statistics_for_items>).
 The problem here is not that the codes are missing, it's that adding those 
codes to your Babel box does not cause them to appear in the term box.
  
  I notice that after adding `sr-ec` and `sr-el` to the Babel box, the Babel 
box shows `sr-Cyrl` and `sr-Latn` and puts the user into categories for 
`sr-Cyrl` and `sr-Latn`. I suspect what's happening is that the codes get 
turned into `sr-cyrl` and `sr-latn` at some point before being passed to the 
term box and, since we don't support `sr-cyrl` or `sr-latn`, the term box fails 
to find a matching language and can't display them.
  
  The opposite happens when loading a page using `?uselang=`, both 
`?uselang=sr-el` and `?uselang=sr-latn` display the `sr-el` terms in the first 
row.

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

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

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

Reply via email to