cleanup and fixes for secondary data updates
[lhc/web/wiklou.git] / includes / job / RefreshLinksJob.php
index 7ccf00d..fa3a607 100644 (file)
@@ -58,11 +58,11 @@ class RefreshLinksJob extends Job {
 
                wfProfileIn( __METHOD__.'-parse' );
                $options = ParserOptions::newFromUserAndLang( new User, $wgContLang );
-               $parserOutput = $wgParser->parse( $revision->getText(), $this->title, $options, true, true, $revision->getId() );
+               $parserOutput = $wgParser->parse( $revision->getText(), $this->title, $options, true, true, $revision->getId() ); #FIXME: content
                wfProfileOut( __METHOD__.'-parse' );
                wfProfileIn( __METHOD__.'-update' );
 
-               $updates = $parserOutput->getSecondaryDataUpdates( $this->title, false );
+               $updates = $parserOutput->getSecondaryDataUpdates( $this->title, false ); #FIXME: content handler
                DataUpdate::runUpdates( $updates );
 
                wfProfileOut( __METHOD__.'-update' );
@@ -132,11 +132,11 @@ class RefreshLinksJob2 extends Job {
                                return false;
                        }
                        wfProfileIn( __METHOD__.'-parse' );
-                       $parserOutput = $wgParser->parse( $revision->getText(), $title, $options, true, true, $revision->getId() );
+                       $parserOutput = $wgParser->parse( $revision->getText(), $title, $options, true, true, $revision->getId() ); #FIXME: content handler
                        wfProfileOut( __METHOD__.'-parse' );
                        wfProfileIn( __METHOD__.'-update' );
 
-                       $updates = $parserOutput->getSecondaryDataUpdates( $title, false );
+                       $updates = $parserOutput->getSecondaryDataUpdates( $title, false ); #FIXME: content handler
                        DataUpdate::runUpdates( $updates );
 
                        wfProfileOut( __METHOD__.'-update' );