MediaWiki  master
MediaWiki\Cache\Hook\MessageCacheReplaceHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Cache\Hook\MessageCacheReplaceHook:

Public Member Functions

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

Detailed Description

Stable for implementation.

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: