Extension:LangCodeOverride

The LangCodeOverride extension provide overrides of language codes in the sidebar, as some of them are wrong of historical reasons.

Installation
Further notes about installation can be found in the install file.

Vagrant
This extension can use a plain Mediawiki-Vagrant, with one exception, the instance must have definitions in the interwiki table for the links it shall override.

Interwiki
The most straight forward solution is to populate the interwiki table by reusing the data from English Wikipedia

Note that for a Vagrant box this must be done from inside the instance.

Features
In the config section of extension.json there are two constants;  and.


 * Group : is whatever to use as the default group, that is if SiteLookup fails for whatever reason this will be used.
 * Codes : are at the first level an object structure consisting of groups as keys, and at the second level an object structure with language code replacement pairs.