MediaWiki
REL1_23
|
Job to update link tables for pages. More...
Public Member Functions | |
__construct ($title, $params= '') | |
getDeduplicationInfo () | |
Subclasses may need to override this to make duplication detection work. | |
run () | |
Run the job. | |
workItemCount () | |
Public Attributes | |
const | PARSE_THRESHOLD_SEC = 1.0 |
Protected Member Functions | |
runForTitle (Title $title=null) |
Job to update link tables for pages.
This job comes in a few variants:
Definition at line 37 of file RefreshLinksJob.php.
RefreshLinksJob::__construct | ( | $ | title, |
$ | params = '' |
||
) |
Definition at line 40 of file RefreshLinksJob.php.
References Job\$params, and Job\$title.
Subclasses may need to override this to make duplication detection work.
The resulting map conveys everything that makes the job unique. This is only checked if ignoreDuplicates() returns true, meaning that duplicate jobs are supposed to be ignored.
Reimplemented from Job.
Definition at line 180 of file RefreshLinksJob.php.
Run the job.
Reimplemented from Job.
Definition at line 61 of file RefreshLinksJob.php.
References array(), as, empty, Job\getRootJobParams(), global, list, Title\makeTitleSafe(), BacklinkJobUtils\partitionBacklinkJob(), runForTitle(), JobQueueGroup\singleton(), title, and wfGetLB().
RefreshLinksJob::runForTitle | ( | Title $ | title = null | ) | [protected] |
Definition at line 103 of file RefreshLinksJob.php.
References Job\$title, Job\factory(), false, InfoAction\invalidateCache(), Revision\newFromTitle(), Revision\RAW, IDBAccessObject\READ_NORMAL, DataUpdate\runUpdates(), Job\setLastError(), ParserCache\singleton(), LinkCache\singleton(), wfGetLB(), and wfTimestamp().
Referenced by run().
Reimplemented from Job.
Definition at line 196 of file RefreshLinksJob.php.
const RefreshLinksJob::PARSE_THRESHOLD_SEC = 1.0 |
Definition at line 38 of file RefreshLinksJob.php.