Nikki added a comment.
In T284882#7912259 <https://phabricator.wikimedia.org/T284882#7912259>, @Lydia_Pintscher wrote: > So what do people think about Daniel's proposal? Would it work and be an improvement in your opinion? Reminder we are talking about this: "check P9753 <https://phabricator.wikimedia.org/P9753> (explicit wikidata code), then fall back to P305 <https://phabricator.wikimedia.org/P305> (BCP 47), then fall back to P218 <https://phabricator.wikimedia.org/P218> (ISO-639-1)" I think it's unnecessarily complicated: - `P9753` has only been used on 23 items and all of the values are either BCP 47 codes or can't be used on Special:NewLexeme. - All ISO 639-1 codes are BCP 47 codes and all items with `P218` have the same value for `P305`. That just leaves `P305`. My suggestion would be: - change the config to use `P305` instead of `P218` - make sure it performs a case insensitive comparison of the `P305` value and the allowed language codes (BCP 47 is case insensitive) TASK DETAIL https://phabricator.wikimedia.org/T284882 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: mrephabricator, Manuel, daniel, Denny, Mahir256, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Bugreporter, waldyrious, Nikki, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 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]
