MediaWiki  1.28.1
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 25 of file PurgeJobUtils.php.

Member Function Documentation

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 34 of file PurgeJobUtils.php.

References $lbFactory, $services, IDatabase\addQuotes(), as, IDatabase\onTransactionIdle(), IDatabase\selectFieldValues(), IDatabase\timestamp(), IDatabase\update(), and use.

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


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