dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a5e11df
)
Merge "refreshLinks: Queue non-recursive updates"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 2 Mar 2017 20:14:27 +0000
(20:14 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 2 Mar 2017 20:14:27 +0000
(20:14 +0000)
maintenance/refreshLinks.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
fb24a1d
..
06fcbaf
100644
(file)
--- 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 );
}
}