Petar.petkovic added a comment.

  Wikidata gets language codes to display inside collapsed view from ULS method 
`getFrequentLanguageList()`, which utilizes country code languages, among other 
things. There is a separate task (T222790 
<https://phabricator.wikimedia.org/T222790>) related to this one, where it was 
requested from #language-team 
<https://phabricator.wikimedia.org/tag/language-team/> to clarify expected 
behavior around languages with redirects. Returning the target of language 
redirect codes was introduced as fix for this ticket, in 
76551ed4a7fccbaf87cd850674406ae316f4f956 
<https://phabricator.wikimedia.org/rEULS76551ed4a7fccbaf87cd850674406ae316f4f956>.
  
  In the past, editors from Serbia would not see Serbian as option at all, or 
see variant codes for Cyrillic and Latin - T121747 
<https://phabricator.wikimedia.org/T121747>. This was mitigated if you had `sr` 
language code in list of your previous languages selected in ULS. Now, after 
the patch, `sr` redirects to `sr-cyrl` 
<https://github.com/wikimedia/jquery.uls/blob/6f6d72d5751d897ffc7ef17d5b3513f76b604b3d/src/jquery.uls.data.js#L3368>
 and we end up with having options to enter entity details (label, description, 
aliases) in both Cyrillic and Latin. That means, we no longer have ability to 
work around the limitation for Serbian.
  F30105220: darien-wikidata.png <https://phabricator.wikimedia.org/F30105220>
  When you try inserting any data for that two language codes, you get an error 
message: !!Could not save due to an error. Unrecognized value for parameter 
"language": sr-cyrl!!.
  In the past, there was an option to expand list of languages and show all of 
them. Now, we see selected 4 languages and have option to see all other **which 
have label entered**. That means new entries cannot be added in Serbian.
  
  Do you have statistics about number of edits per language on Wikidata? Did 
contributions in Serbian drop significantly in the past month? Are there other 
ways of entering Wikidata labels that I don't know of?

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

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

To: Petar.petkovic
Cc: Petar.petkovic, alaa_wmde, Ladsgroup, Tarrow, Addshore, Lydia_Pintscher, 
Pablo-WMDE, gerritbot, WMDE-leszek, Lea_WMDE, Hanna_Petruschat_WMDE, Aklapper, 
darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to