MediaWiki REL1_39
MessageCacheUpdate Class Reference

Message cache purging and in-place update handler for specific message page changes. More...

Inheritance diagram for MessageCacheUpdate:
Collaboration diagram for MessageCacheUpdate:

Public Member Functions

 __construct ( $code, $title, $msg)
 
 doUpdate ()
 Perform the actual work.
 
 merge (MergeableUpdate $update)
 Merge this enqueued update with a new MergeableUpdate of the same qualified class name.
 

Detailed Description

Message cache purging and in-place update handler for specific message page changes.

Since
1.32

Definition at line 32 of file MessageCacheUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

MessageCacheUpdate::__construct ( $code,
$title,
$msg )
Parameters
string$codeLanguage code
string$titleMessage cache key with initial uppercase letter
string$msgMessage cache key with initial uppercase letter and without the code

Definition at line 41 of file MessageCacheUpdate.php.

References $title.

Member Function Documentation

◆ doUpdate()

MessageCacheUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 55 of file MessageCacheUpdate.php.

◆ merge()

MessageCacheUpdate::merge ( MergeableUpdate $update)

Merge this enqueued update with a new MergeableUpdate of the same qualified class name.

Parameters
MergeableUpdate$updateThe new update (having the same class)

Implements MergeableUpdate.

Definition at line 45 of file MessageCacheUpdate.php.


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