dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use Title, not IContextSource; remove createArticle, etc.
[lhc/web/wiklou.git]
/
maintenance
/
refreshLinks.php
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
f954b9e
..
602874b
100644
(file)
--- a/
maintenance/refreshLinks.php
+++ b/
maintenance/refreshLinks.php
@@
-220,7
+220,7
@@
class RefreshLinks extends Maintenance {
$context = RequestContext::getMain();
- $updates = $
content->getSecondaryDataUpdates( $context
);
+ $updates = $
parserOutput->getSecondaryDataUpdates( $page->getTitle(), false
);
DataUpdate::runUpdates( $updates );
$dbw->commit( __METHOD__ );