From d0f88435a37e3006a18fae16356f8f73ad6ec6f8 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 4 Dec 2005 21:08:39 +0000 Subject: [PATCH] Remove Out::transformBuffer method that does nothing --- includes/Article.php | 3 --- includes/OutputPage.php | 10 ---------- maintenance/refreshLinks.inc | 1 - 3 files changed, 14 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 5d86ccf025..729763c66f 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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() ; diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 02b75ea6b9..bf5d17a8a4 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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. diff --git a/maintenance/refreshLinks.inc b/maintenance/refreshLinks.inc index 7a256c1efe..2cacdcbcd0 100644 --- a/maintenance/refreshLinks.inc +++ b/maintenance/refreshLinks.inc @@ -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() ); -- 2.20.1