MediaWiki
1.34.0
|
Static Public Member Functions | |
static | invalidatePages (IDatabase $dbw, $namespace, array $dbkeys) |
Invalidate the cache of a list of pages from a single namespace. More... | |
Definition at line 26 of file PurgeJobUtils.php.
|
static |
Invalidate the cache of a list of pages from a single namespace.
This is intended for use by subclasses.
IDatabase | $dbw | |
int | $namespace | Namespace 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().