MediaWiki 1.42.1
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onMessageCache__get (&$key) | |
This hook is called when fetching a message. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MessageCache::get" to register handlers implementing this interface.
Definition at line 13 of file MessageCache__getHook.php.
MediaWiki\Cache\Hook\MessageCache__getHook::onMessageCache__get | ( | & | $key | ) |
This hook is called when fetching a message.
Use this hook to override the key for customisations. Given and returned message key must be formatted with: 1) the first letter in lower case according to the content language 2) spaces replaced with underscores
string | &$key | Message key |
Implemented in MediaWiki\HookContainer\HookRunner.