replaceLinkHolders -> transformBuffer
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 21 Aug 2004 15:04:41 +0000 (15:04 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 21 Aug 2004 15:04:41 +0000 (15:04 +0000)
maintenance/refreshLinks.inc

index 41dfce3..1aac42e 100644 (file)
@@ -40,7 +40,7 @@ function refreshLinks( $start ) {
                $wgOut->addWikiText( $text );
                
                # Look up the links in the DB and add them to the link cache
-               $wgOut->replaceLinkHolders( RLH_FOR_UPDATE );
+               $wgOut->transformBuffer( RLH_FOR_UPDATE );
 
                if ( $wgEnablePersistentLC ) {
                        $wgLinkCache->saveToLinkscc( $id, $dbw->strencode( $wgTitle->getPrefixedDBkey() ) );