MediaWiki
REL1_24
|
Job to purge the cache for all pages that link to or use another page or file. More...
Public Member Functions | |
__construct ($title, $params= '') | |
run () | |
Run the job. | |
workItemCount () | |
Protected Member Functions | |
invalidateTitles (array $pages) |
Job to purge the cache for all pages that link to or use another page or file.
This job comes in a few variants:
Definition at line 35 of file HTMLCacheUpdateJob.php.
HTMLCacheUpdateJob::__construct | ( | $ | title, |
$ | params = '' |
||
) |
Definition at line 36 of file HTMLCacheUpdateJob.php.
References Job\$params, and Job\$title.
HTMLCacheUpdateJob::invalidateTitles | ( | array $ | pages | ) | [protected] |
array | $pages | Map of (page ID => (namespace, DB key)) entries |
Definition at line 101 of file HTMLCacheUpdateJob.php.
References $batch, Job\$title, array(), as, HTMLFileCache\clearFileCache(), global, TitleArray\newFromResult(), SquidUpdate\newFromTitles(), wfGetDB(), and wfTimestampNow().
Referenced by run().
Run the job.
Reimplemented from Job.
Definition at line 42 of file HTMLCacheUpdateJob.php.
References array(), as, empty, Job\getRootJobParams(), global, invalidateTitles(), BacklinkJobUtils\partitionBacklinkJob(), JobQueueGroup\singleton(), and title.
Reimplemented from Job.
Definition at line 159 of file HTMLCacheUpdateJob.php.