MediaWiki REL1_39
HtmlFileCacheUpdate Class Reference

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

Inheritance diagram for HtmlFileCacheUpdate:
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)
 
static newFromTitles ( $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 77 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 67 of file HtmlFileCacheUpdate.php.

Referenced by newFromTitles(), and HtmlCacheUpdater\purgeTitleUrls().

◆ newFromTitles()

static HtmlFileCacheUpdate::newFromTitles ( $pages)
static
Deprecated
since 1.37 use newFromPages() instead
Parameters
iterable<PageIdentity>$pages PageIdentity instances
Returns
HtmlFileCacheUpdate

Definition at line 56 of file HtmlFileCacheUpdate.php.

References newFromPages(), and wfDeprecated().


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