MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onLanguageGetTranslatedLanguageNames (&$names, $code) | |
Use this hook to provide translated language names. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LanguageGetTranslatedLanguageNames" to register handlers implementing this interface.
Definition at line 12 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.