Use non-recursive mode when doing refreshLinks
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 12 Apr 2006 04:48:36 +0000 (04:48 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 12 Apr 2006 04:48:36 +0000 (04:48 +0000)
maintenance/refreshLinks.inc

index fa3c9e6..fb513ad 100644 (file)
@@ -89,7 +89,7 @@ function fixLinksFromArticle( $id ) {
 
        $options = new ParserOptions;
        $parserOutput = $wgParser->parse( $revision->getText(), $wgTitle, $options, true, true, $revision->getId() );
-       $update = new LinksUpdate( $wgTitle, $parserOutput );
+       $update = new LinksUpdate( $wgTitle, $parserOutput, false );
        $update->doUpdate();
        $dbw->immediateCommit();
 }