Lucas_Werkmeister_WMDE added a comment.

  > Why is the specifically English 
<https://gerrit.wikimedia.org/g/mediawiki/extensions/cldr/+/6f74f8389c8d1d824bb2f12c7c55f7dbbd46755e/LocalNames/LocalNamesEn.php#193>
 name “multiple languages” only used when the page is loaded in `mul`, but 
//not// in English itself, nor in any other language?
  
  Because uselang=mul is the only time when that row of the table is rendered 
server-side in PHP, and then JS just leaves the language name alone. In all 
other languages, you have to click “all entered languages” to show the mul row, 
and it’s rendered client-side in JS, where we have different language name 
data. Specifically, `mul` is neither included in `$.fn.uls.defaults.languages` 
(language names in user language) nor in `$.uls.data.languages` (autonyms), so 
the JS code finally falls back to the language code.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Manuel, Lydia_Pintscher, Aklapper, Lucas_Werkmeister_WMDE, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, darthmon_wmde, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to