Lucas_Werkmeister_WMDE added a comment.

  Likely related to (possibly a duplicate of) T44396: duplicate/invalid 
language codes <https://phabricator.wikimedia.org/T44396>.
  
  That task notes that the regular Wikidata user interface already doesn’t 
allow you to set terms using deprecated language codes – if you add e. g. 
`?uselang=zh-yue` to the URL, MediaWiki normalizes it (in this case to `yue`) 
before Wikibase ever sees it. (The example edits I linked above were made via 
Special:SetLabel <https://www.wikidata.org/wiki/Special:SetLabel>, which 
doesn’t use the user interface language and so still allows those language 
codes.) Maybe the Commons app should apply a similar mapping even if the 
underlying Wikibase problem isn’t fixed soon (so it would still be possible to 
set `zh-yue` via the API, but it wouldn’t happen so often through the Commons 
app.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Roy17, Confetti68, CBogen, darthmon_wmde, 
Nandana, JKSTNK, Charlotte, Lahi, Gq86, Sharvaniharan, cooltey, schoenbaechler, 
Maggouri, Jcasariego, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, LNDDYL, Wikidata-bugs, aude, Dbrant, Lydia_Pintscher, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to