Use Title, not IContextSource; remove createArticle, etc.
[lhc/web/wiklou.git] / maintenance / refreshLinks.php
index f954b9e..602874b 100644 (file)
@@ -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__ );