Page MenuHomePhabricator

Incorrect capitalization of "Võro" (in English)
Closed, ResolvedPublicBUG REPORT

Description

At https://meta.wikimedia.org/wiki/List_of_Wikipedias, the English name of the Võro language is not capitalized (it appears as "võro" when it should appear as "Võro").

This is causing problems with https://en.wikipedia.org/wiki/Template:Expand_V%C3%B5ro, since it is placing articles into the wrong category. The template is getting the language names with {{#language:{{{langcode|}}}|en}}. In this case, langcode is "fiu-vro".

Event Timeline

No, that is for the name of the language in the language itself. I am referring to the English name for the language, which should always be capitalized.

Where is it actually pulling it from? What is the call that is getting the language code?

|langcode=fiu-vro is in the Template, and then that calls a parent template, and so on.

What is the minimal required wikitext (so probably "which parser function is being called") to get the wrong output?

Now listed in task description.

Thanks. So for completeness (and confirmed locally too):

{{#language:fiu-vro|en}} gives võro
{{#language:vro|en}} gives Võro

I'm pretty sure it's just falling back to the version in Names.php, due to lack of any other override/definition in en. So....

Change 884114 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/cldr@master] LocalNamesEn: Add fiu-vro definition

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

There may be scope to Upstream this to CLDR, but that's a different issue.

Code fiu-vro should not be used anymore. Maybe better to fix that (or fix handling of deprecated codes somewhere in the stack).

Change 891497 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/core@master] Make LanguageNameUtils more lenient with input

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

Change 891497 merged by jenkins-bot:

[mediawiki/core@master] Make LanguageNameUtils more lenient with input

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

Nikerabbit triaged this task as Lowest priority.
Nikerabbit removed a project: Patch-For-Review.

Change 884114 abandoned by Nikerabbit:

[mediawiki/extensions/cldr@master] LocalNamesEn: Add fiu-vro definition

Reason:

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