Manual:$wgExtraLanguageNames/ko
Appearance
| Language, regional and character encoding settings: $wgExtraLanguageNames | |
|---|---|
| List of language names or overrides for default names in Names.php. |
|
| 이 변수가 소개된 버전: | 1.12.0 (r28212) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array of strings) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
List of language names or overrides for default names in includes/languages/data/Names.php.
$wgExtraLanguageNames['xyz'] = 'Language name';
Many BCP-47 tags are not supported out of the box by MediaWiki. If you need to add one, make sure that the array key is fully lowercase even if uppercase characters are part of the standard version of the code. For example:
$wgExtraLanguageNames["ja-latn-hepburn"] = "Japanese in Latin script using Hepburn romanisation";
# Do not write "ja-Latn-hepburn"
Notes
You may need to also add the prefix to $wgExtraInterlanguageLinkPrefixes for it to actually behave as an interlanguage link when defined.