MediaWiki REL1_34
PurgeJobUtils Class Reference

Static Public Member Functions

static invalidatePages (IDatabase $dbw, $namespace, array $dbkeys)
 Invalidate the cache of a list of pages from a single namespace.
 

Detailed Description

Definition at line 26 of file PurgeJobUtils.php.

Member Function Documentation

◆ invalidatePages()

static PurgeJobUtils::invalidatePages ( IDatabase $dbw,
$namespace,
array $dbkeys )
static

Invalidate the cache of a list of pages from a single namespace.

This is intended for use by subclasses.

Parameters
IDatabase$dbw
int$namespaceNamespace number
array$dbkeys

Definition at line 35 of file PurgeJobUtils.php.

References Wikimedia\Rdbms\IDatabase\addQuotes(), Wikimedia\Rdbms\IDatabase\selectFieldValues(), Wikimedia\Rdbms\IDatabase\timestamp(), and Wikimedia\Rdbms\IDatabase\update().

Referenced by LinksUpdate\invalidateCategories(), and LinksUpdate\invalidateImageDescriptions().


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