MediaWiki  REL1_31
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 $services, Wikimedia\Rdbms\IDatabase\addQuotes(), as, Wikimedia\Rdbms\IDatabase\onTransactionIdle(), Wikimedia\Rdbms\IDatabase\selectFieldValues(), Wikimedia\Rdbms\IDatabase\timestamp(), Wikimedia\Rdbms\IDatabase\update(), and use.

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


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