MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onLanguageGetTranslatedLanguageNames (&$names, $code) | |
Use this hook to provide translated language names. | |
Stable to implement.
Definition at line 9 of file LanguageGetTranslatedLanguageNamesHook.php.
MediaWiki\Languages\Hook\LanguageGetTranslatedLanguageNamesHook::onLanguageGetTranslatedLanguageNames | ( | & | $names, |
$code | |||
) |
Use this hook to provide translated language names.
string[] | &$names | Array of language code => language name |
string | $code | Language of the preferred translations |
Implemented in MediaWiki\HookContainer\HookRunner.