MediaWiki  REL1_24
RefreshLinksJob2 Class Reference

Background job to update links for titles in certain backlink range by page ID. More...

Inheritance diagram for RefreshLinksJob2:
Collaboration diagram for RefreshLinksJob2:

List of all members.

Public Member Functions

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

Protected Member Functions

 getSingleTitleJobs ($table, $masterPos)

Detailed Description

Background job to update links for titles in certain backlink range by page ID.

Newer version for high use templates. This is deprecated by RefreshLinksPartitionJob.

Deprecated:
since 1.23

Definition at line 31 of file RefreshLinksJob2.php.


Constructor & Destructor Documentation

RefreshLinksJob2::__construct ( title,
params 
)

Definition at line 32 of file RefreshLinksJob2.php.

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


Member Function Documentation

Returns:
array

Reimplemented from Job.

Definition at line 133 of file RefreshLinksJob2.php.

RefreshLinksJob2::getSingleTitleJobs ( table,
masterPos 
) [protected]
Parameters:
string$table
mixed$masterPos
Returns:
array

Definition at line 108 of file RefreshLinksJob2.php.

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

Referenced by run().

Run a refreshLinks2 job.

Returns:
bool Success

Reimplemented from Job.

Definition at line 42 of file RefreshLinksJob2.php.

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


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