MediaWiki  1.34.0
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. More...
 

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(), DeferredUpdates\addUpdate(), 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: