Previously the 'prioritize' flag was set in getAsJobSpecification()
but the job still went into the regular 'refreshLinks' queue. Since
the parser cache was just saved, they should be fast to run. The
separate queue stops them from getting stuck behind template updates.
Change-Id: I46c5760702d862dc9288618ee5eff3897f6e838b
'wiki' => $this->mDb->getWikiID(),
'job' => new JobSpecification(
'refreshLinks',
- array( 'prioritize' => true ),
+ array(
+ 'prioritize' => true,
+ // Reuse the parser cache if it was saved
+ 'rootJobTimestamp' => $this->mParserOutput->getCacheTime()
+ ),
array( 'removeDuplicates' => true ),
$this->getTitle()
)