From: Kunal Mehta Date: Tue, 14 Feb 2017 02:59:53 +0000 (-0800) Subject: refreshLinks: Queue non-recursive updates X-Git-Tag: 1.31.0-rc.0~3921^2 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=504d5582090258a217df33819f492a41c21ca766;p=lhc%2Fweb%2Fwiklou.git refreshLinks: Queue non-recursive updates This appears to have been an accidental change introduced in 48d0bedd7851. Change-Id: I40a6bbead4b9966f130380fb91681a40395989a3 --- diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index fb24a1d0e2..06fcbaf06b 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -272,7 +272,9 @@ class RefreshLinks extends Maintenance { return; } - foreach ( $content->getSecondaryDataUpdates( $page->getTitle() ) as $update ) { + $updates = $content->getSecondaryDataUpdates( + $page->getTitle(), /* $old = */ null, /* $recursive = */ false ); + foreach ( $updates as $update ) { DeferredUpdates::addUpdate( $update ); } }