Remove Out::transformBuffer method that does nothing
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 4 Dec 2005 21:08:39 +0000 (21:08 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 4 Dec 2005 21:08:39 +0000 (21:08 +0000)
includes/Article.php
includes/OutputPage.php
maintenance/refreshLinks.inc

index 5d86ccf..729763c 100644 (file)
@@ -854,9 +854,6 @@ class Article {
                if ($wgUseTrackbacks)
                        $this->addTrackbacks();
 
-               # Put link titles into the link cache
-               $wgOut->transformBuffer();
-
                # Add link titles as META keywords
                $wgOut->addMetaTags() ;
 
index 02b75ea..bf5d17a 100644 (file)
@@ -515,8 +515,6 @@ class OutputPage {
                # Buffer output; final headers may depend on later processing
                ob_start();
 
-               $this->transformBuffer();
-
                # Disable temporary placeholders, so that the skin produces HTML
                $sk->postParseLinkColour( false );
 
@@ -620,7 +618,6 @@ class OutputPage {
                $this->setArticleRelated( false );
                $this->mBodytext = '';
 
-               $sk = $wgUser->getSkin();
                $this->addWikiText( wfMsg( 'versionrequiredtext', $version ) );
                $this->returnToMain();
        }
@@ -936,13 +933,6 @@ class OutputPage {
                return $ret;
        }
 
-       /**
-        * Run any necessary pre-output transformations on the buffer text
-        */
-       function transformBuffer( $options = 0 ) {
-       }
-
-
        /**
         * Turn off regular page output and return an error reponse
         * for when rate limiting has triggered.
index 7a256c1..2cacdcb 100644 (file)
@@ -95,7 +95,6 @@ function fixLinksFromArticle( $id ) {
        $wgOut->addWikiText( $text );
        
        # Look up the links in the DB and add them to the link cache
-       $wgOut->transformBuffer();
        $wgOut->clearHTML();
 
        $linksUpdate = new LinksUpdate( $id, $wgTitle->getPrefixedDBkey() );