Jump to content

Manual:$wgExtraLanguageNames

From mediawiki.org
Language, regional and character encoding settings: $wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Introduced in version:1.12.0 (r28212)
Removed in version:Still in use
Allowed values:(array of strings)
Default value:[]

Details

[edit]

List of language names or overrides for default names in includes/languages/data/Names.php .

$wgExtraLanguageNames['xyz'] = 'Language name';

Notes

[edit]

You may need to also add the prefix to $wgExtraInterlanguageLinkPrefixes for it to actually behave as an interlanguage link when defined.