MediaWiki  REL1_22
RefreshLinksJob Class Reference

Background job to update links for a given title. More...

Inheritance diagram for RefreshLinksJob:
Collaboration diagram for RefreshLinksJob:

List of all members.

Public Member Functions

 __construct ($title, $params= '', $id=0)
 getDeduplicationInfo ()
 run ()
 Run a refreshLinks job.

Static Public Member Functions

static runForTitleInternal (Title $title, Revision $revision, $fname)

Detailed Description

Background job to update links for a given title.

Definition at line 29 of file RefreshLinksJob.php.


Constructor & Destructor Documentation

RefreshLinksJob::__construct ( title,
params = '',
id = 0 
)

Definition at line 30 of file RefreshLinksJob.php.

References Job\$id, Job\$params, and Job\$title.


Member Function Documentation

Returns:
Array

Reimplemented from Job.

Definition at line 70 of file RefreshLinksJob.php.

Run a refreshLinks job.

Returns:
boolean success

Reimplemented from Job.

Definition at line 39 of file RefreshLinksJob.php.

References Revision\newFromTitle(), params, IDBAccessObject\READ_NORMAL, runForTitleInternal(), LinkCache\singleton(), title, and wfGetLB().

static RefreshLinksJob::runForTitleInternal ( Title title,
Revision revision,
fname 
) [static]
Parameters:
$titleTitle
$revisionRevision
$fnamestring
Returns:
void

Definition at line 85 of file RefreshLinksJob.php.

References $fname, false, Revision\getContent(), Revision\getContentHandler(), Revision\getId(), InfoAction\invalidateCache(), Revision\RAW, DataUpdate\runUpdates(), wfProfileIn(), and wfProfileOut().

Referenced by run().


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