Page MenuHomePhabricator

nrm.wikipedia.org language configuration
Open, Needs TriagePublicBUG REPORT

Event Timeline

Is this a duplicate of T25216: Move the Nourmande Wikipedia from nrm to nrf?

./includes/language/LanguageCode.php:	'nrm' => 'nrf', // [[en:Norman_language]] T25216
./includes/languages/data/Names.php:	'nrm' => 'Nouormand', # Norman (invalid code; 'nrf' in ISO 639 since 2014)

Definitely related, but probably distinct.

This issue is "only" about editing metadata found at https://nrm.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general, not about moving the wiki in terms of domain name. The lang should be nrf and fallbacks should contain nrm for the time being

The fix for making the API query return "nrf" is trivial: Just add 'nrmwiki' => 'nrf' in the appropriate place under wgLanguageCode in InitialiseSettings.php. I was preparing a patch to do that just now.

However: This would break all translations in nrmwiki, because the translations are still in nrm.json and not nrf.json. So doing this properly would first require moving all existing translations in Translatewiki from /nrm to /nrf. I'm creating a separate task to do that now.