MediaWiki  REL1_22
RefreshLinksJob2 Class Reference

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

Inheritance diagram for RefreshLinksJob2:
Collaboration diagram for RefreshLinksJob2:

List of all members.

Public Member Functions

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

Protected Member Functions

 getSingleTitleJobs ($table, $masterPos)

Detailed Description

Background job to update links for a given title.

Newer version for high use templates.

Definition at line 112 of file RefreshLinksJob.php.


Constructor & Destructor Documentation

RefreshLinksJob2::__construct ( title,
params,
id = 0 
)

Definition at line 113 of file RefreshLinksJob.php.

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


Member Function Documentation

Returns:
Array

Reimplemented from Job.

Definition at line 214 of file RefreshLinksJob.php.

RefreshLinksJob2::getSingleTitleJobs ( table,
masterPos 
) [protected]
Parameters:
$tablestring
$masterPosmixed
Returns:
Array

Definition at line 189 of file RefreshLinksJob.php.

References Job\$title, $titles, array(), as, Job\getRootJobParams(), params, and title.

Referenced by run().

Run a refreshLinks2 job.

Returns:
boolean success

Reimplemented from Job.

Definition at line 123 of file RefreshLinksJob.php.

References $batch, array(), as, Job\getRootJobParams(), getSingleTitleJobs(), global, list, params, LinkCache\singleton(), JobQueueGroup\singleton(), title, and wfGetLB().


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