(Translated by https://www.hiragana.jp/)
⚓ T349652 Special:NewLexeme should lowercase language codes from P305
Page MenuHomePhabricator

Special:NewLexeme should lowercase language codes from P305
Closed, ResolvedPublic

Description

Now that T348923 has been complete, P305(IETF language tag) is the Property that is used to determine available language codes.

For users to have a more streamlined experience when editing, we would like to automatically lowercase the value from P305.

Acceptance criteria:

  • Values from P305 are accepted in Special:NewLexeme regardless of case.

Notes
Previous patch that went to review can be found here: https://github.com/wmde/new-lexeme-special-page/pull/545

Event Timeline

ItamarWMDE renamed this task from Accepting non-case sensitive language codes for P305 to Special:NewLexeme should lowercase language codes from P305.Oct 25 2023, 9:18 AM
ItamarWMDE updated the task description. (Show Details)
ItamarWMDE updated the task description. (Show Details)

I suppose T318072: Wikidata should normalize data entered for the language code of Monolingual text as lower case would make this task redundant (I just remembered that it exists), but I don’t think that one is happening soon.

Change 970376 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseLexeme@master] Bump special-new-lexeme to lowercase language code

https://gerrit.wikimedia.org/r/970376

Change 970376 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Bump special-new-lexeme to lowercase language code

https://gerrit.wikimedia.org/r/970376

Arian_Bozorg claimed this task.

Looks good to me!

Thanks so much :)