MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onLanguage__getMessagesFileName ( $code, &$file) | |
Use this hook to change the path of a localisation file. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "Language::getMessagesFileName" to register handlers implementing this interface.
Definition at line 13 of file Language__getMessagesFileNameHook.php.
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook::onLanguage__getMessagesFileName | ( | $code, | |
& | $file ) |
Use this hook to change the path of a localisation file.
string | $code | Language code or the language we're looking for a messages file for |
string | &$file | Messages file path. You can override this to change the location. |
Implemented in MediaWiki\HookContainer\HookRunner.