MediaWiki master
MediaWiki\Deferred\HtmlFileCacheUpdate Class Reference

HTMLFileCache purge update for a set of titles. More...

Inherits MediaWiki\Deferred\DeferrableUpdate, and MediaWiki\Deferred\MergeableUpdate.

Collaboration diagram for MediaWiki\Deferred\HtmlFileCacheUpdate:

Public Member Functions

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

Static Public Member Functions

static newFromPages ( $pages)
 

Detailed Description

HTMLFileCache purge update for a set of titles.

Since
1.35

Definition at line 34 of file HtmlFileCacheUpdate.php.

Member Function Documentation

◆ doUpdate()

MediaWiki\Deferred\HtmlFileCacheUpdate::doUpdate ( )

Perform the actual work.

Implements MediaWiki\Deferred\DeferrableUpdate.

Definition at line 69 of file HtmlFileCacheUpdate.php.

◆ merge()

MediaWiki\Deferred\HtmlFileCacheUpdate::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 MediaWiki\Deferred\MergeableUpdate.

Definition at line 45 of file HtmlFileCacheUpdate.php.

◆ newFromPages()

static MediaWiki\Deferred\HtmlFileCacheUpdate::newFromPages ( $pages)
static
Since
1.37
Parameters
iterable<PageIdentity>$pages PageIdentity instances
Returns
HtmlFileCacheUpdate

Definition at line 59 of file HtmlFileCacheUpdate.php.

Referenced by MediaWiki\Cache\HTMLCacheUpdater\purgeTitleUrls().


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