MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onMessageCacheReplace ( $title, $text) | |
This hook is called when a message page is changed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MessageCacheReplace" to register handlers implementing this interface.
Definition at line 12 of file MessageCacheReplaceHook.php.
MediaWiki\Cache\Hook\MessageCacheReplaceHook::onMessageCacheReplace | ( | $title, | |
$text ) |
This hook is called when a message page is changed.
Use this hook to update caches.
string | $title | Name of the page changed |
string | $text | New contents of the page |
Implemented in MediaWiki\HookContainer\HookRunner.