MediaWiki REL1_40
HtmlFileCacheUpdate Class Reference

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

Inherits DeferrableUpdate, and MergeableUpdate.

Collaboration diagram for 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 31 of file HtmlFileCacheUpdate.php.

Member Function Documentation

◆ doUpdate()

HtmlFileCacheUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 66 of file HtmlFileCacheUpdate.php.

References HTMLFileCache\clearFileCache().

◆ merge()

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 MergeableUpdate.

Definition at line 42 of file HtmlFileCacheUpdate.php.

◆ newFromPages()

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

Definition at line 56 of file HtmlFileCacheUpdate.php.

Referenced by HtmlCacheUpdater\purgeTitleUrls().


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