Page MenuHomePhabricator

Move deprecated language codes from MediaWiki to WMF configuration
Open, Needs TriagePublic

Description

Currently MediaWiki contains deprecated language codes:

The deprecated language codes are only used in WMF projects. These language codes are not needed in MediaWiki itself. Some language codes even block a standardized use of the language codes (als is the language code for Tosk Albanian and not for Alemannic) in MediaWiki. Therefor the mapping LanguageCode::DEPRECATED_LANGUAGE_CODE_MAPPING and the deprecated language codes in Names.php should moved from MediaWiki to a WMF specific configuration.

Event Timeline

Change 558052 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[operations/mediawiki-config@master] Add DEPRECATED_LANGUAGE_CODE_MAPPING to wgInterlanguageLinkCodeMap

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

Change 279087 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/core@master] Remove deprecated language codes from Names.php

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

Fomafix renamed this task from Move DEPRECATED_LANGUAGE_CODE_MAPPING from MediaWiki to WMF configuration to Move deprecated language codes from MediaWiki to WMF configuration.Mar 24 2020, 7:40 PM
Fomafix updated the task description. (Show Details)

I think we can review this change first, as it doesn't require core changes:

Change 558052 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[operations/mediawiki-config@master] Add DEPRECATED_LANGUAGE_CODE_MAPPING to wgInterlanguageLinkCodeMap

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

I seem to have missed your comment a year ago because I wasn't pinged, and only rediscovered this when I was about the repeat the previous patch-needs-improvement retag because it came up on my radar again.

Config changes need to be scheduled for a backport window or else they will not get reviewed. The poor communication of this fact is one of many things fundamentally broken about the WMF's code review processes.