Some language codes appear with autonyms in wmgExtraLanguageNames Wikimedia's InitialiseSettings.php.
They should be in harmony with the definitions in language-data on GitHub and Names.php.
Here's what I see at the moment (they all appear twice, for wikidata and for commons):
- 'dag' => 'Dagbanli', // T260037, T272242 - Appears in Names.php and can be removed. For InitialiseSettings.php patch, see T283168.
- 'fkv' => 'kvääni', // T167259 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'kea' => 'Kabuverdianu', // T127435 - Equal to language-data and doesn't appear in Names.php, but the capitalization should be fixed in both of them. language-data patch, InitialiseSettings.php WIP patch.
- 'nod' => 'ᨣᩴᩤᨾᩮᩥᩬᨦ', // T93880 - The autonym in wmgExtraLanguageNames is in the Tai Tham script, and the autonym in language-data is in the Thai script. Both are probably useful, but for clarification it would be great to discuss this with a speaker. Discussed, I'll add nod-thai in a separate task.
- 'ota' => 'لسان توركى', // T59342 - This says "Turkish language" and language-data says "لسان عثمانى", which is "Ottoman language". They should be the same, probably "لسان عثمانى". InitialiseSettings.php WIP patch.
- 'rmf' => 'kaalengo tšimb', // T226701 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'rwr' => 'मारवाड़ी', // T61905 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'sjd' => 'Кӣллт са̄мь кӣлл', // T226701 - Capitalized in wmgExtraLanguageNames, but not in language-data. One of them should be changed. My guess is that it should not be capitalized, but I'll be fine with whatever @Yupik, @Susannaanas, or @jhsoby say. InitialiseSettings.php WIP patch.
- 'sje' => 'bidumsámegiella', // T146707 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'sju' => 'ubmejesámiengiälla', // T226701 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'smj' => 'julevsámegiella', // T146707 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'sms' => 'nuõrttsääʹmǩiõll', // T220118, T223544 - Equal to language-data and doesn't appear in Names.php, probably no action needed
- 'srq' => 'mbia cheë', // T113408 - Doesn't appear in language-data, should be added. language-data patch.
See also T190129: Consolidate language metadata into a 'language-data' library and use in MediaWiki for a long-term solution