Podręcznik:$wgExtraLanguageNames
Appearance
| Language, regional and character encoding settings: $wgExtraLanguageNames | |
|---|---|
| Lista nazw języków lub zastępujące domyślne nazwy z Names.php. |
|
| Wprowadzono w wersji: | 1.12.0 (r28212) |
| Usunięto w wersji: | nadal w użyciu |
| Dozwolone wartości: | (tablica z ciągami znaków) |
| Domyślna wartość: | [] |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
Lista nazw języków lub zastępujące domyślne nazwy z includes/languages/data/Names.php.
$wgExtraLanguageNames['xyz'] = 'Nazwa języka';
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.