New enqueue method of DeferredUpdates was turning LinksUpdate
updates into Jobs. However RefreshLinksJob was not properly
reconstructing the secondary updates as being recursive (if they
were recursive). This means that templates weren't having the pages
that were using them being updated.
See also related T116001.
Change-Id: Ia06246efb2034fdfe07232fd8c2334160edbcf02
array(
'prioritize' => true,
// Reuse the parser cache if it was saved
- 'rootJobTimestamp' => $this->mParserOutput->getCacheTime()
+ 'rootJobTimestamp' => $this->mParserOutput->getCacheTime(),
+ 'useRecursiveLinksUpdate' => $this->mRecursive
),
array( 'removeDuplicates' => true ),
$this->getTitle()
}
}
- $updates = $content->getSecondaryDataUpdates( $title, null, false, $parserOutput );
+ $updates = $content->getSecondaryDataUpdates(
+ $title, null, !empty( $this->params['useRecursiveLinksUpdate'] ), $parserOutput );
foreach ( $updates as $key => $update ) {
if ( $update instanceof LinksUpdate && isset( $this->params['triggeredRecursive'] ) ) {
$update->setTriggeredRecursive();