MediaWiki REL1_35
MediaWiki\Cache\Hook\MessageCacheReplaceHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Cache\Hook\MessageCacheReplaceHook:

Public Member Functions

 onMessageCacheReplace ( $title, $text)
 This hook is called when a message page is changed.

Detailed Description

Stable to implement.

Definition at line 11 of file MessageCacheReplaceHook.php.

Member Function Documentation

◆ onMessageCacheReplace()

MediaWiki\Cache\Hook\MessageCacheReplaceHook::onMessageCacheReplace (   $title,

This hook is called when a message page is changed.

Use this hook to update caches.

Title$titleName of the page changed
string$textNew contents of the page
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.

The documentation for this interface was generated from the following file: