Page MenuHomePhabricator

Add monolingual language codes rm-rumgr, rm-surmiran, rm-sursilv, rm-sutsilv, rm-vallader, rm-puter
Closed, ResolvedPublic

Description

Please add the language codes rm-rumgr, rm-surmiran, rm-sursilv, rm-sutsilv, rm-vallader, rm-puter to the list of language codes supported for monolingual text values.

In T210293#5155124, @Lea_Lacroix_WMDE wrote that I should file a separate ticket for this. Also pinging @WMDE-leszek on this ticket since it appears to be controversial.

Usage example: Try adding the sentence “Ils tgauns vivan dalla naschientscha naven ensemen cullas nuorsas.” as usage example (P5831) in language “rm-sursilv” for lexeme tgaun (L45642). Currently, this does not work; see screenshot.

image.png (1×1 px, 143 KB)

Event Timeline

@GerardM @jhsoby These codes are now accepted as valid language codes for Lexemes. Are they valid codes for monolingual text as well?

The codes are valid (and registered) IETF BCP47 language codes.

@jhsoby @Amire80 Are these codes also valid for monolingual text properties? They've been accepted for Lexemes.

Change 586407 had a related patch set uploaded (by Mbch331; owner: Mbch331):
[mediawiki/extensions/Wikibase@master] Add monolingual language codes rm-rumgr, rm-surmiran, rm-sursilv, rm-sutsilv, rm-vallader, rm-puter

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

Change 586407 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add monolingual language codes for Rumantsch

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

Change 589363 had a related patch set uploaded (by Raimond Spekking; owner: Raimond Spekking):
[mediawiki/extensions/cldr@master] Add language codes rm-xxx

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

@jhsoby @Amire80 Are these codes also valid for monolingual text properties? They've been accepted for Lexemes.

They works for monolingual text properties too, see https://wikidata.beta.wmflabs.org/wiki/Q526807 (at the bottom)

Change 589363 merged by jenkins-bot:
[mediawiki/extensions/cldr@master] Add language codes rm-xxx

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

Addshore added a subscriber: Addshore.

Verified on test
Moving to needs announcement just in case this wants to be announced?
It is going out with this weeks train.