r11969 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11968‎ | r11969 | r11970 >
Date:21:08, 4 December 2005
Author:hashar
Status:old
Tags:
Comment:
Remove Out::transformBuffer method that does nothing
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/includes/OutputPage.php (modified) (history)
  • /trunk/phase3/maintenance/refreshLinks.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/refreshLinks.inc
@@ -95,7 +95,6 @@
9696 $wgOut->addWikiText( $text );
9797
9898 # Look up the links in the DB and add them to the link cache
99 - $wgOut->transformBuffer();
10099 $wgOut->clearHTML();
101100
102101 $linksUpdate = new LinksUpdate( $id, $wgTitle->getPrefixedDBkey() );
Index: trunk/phase3/includes/Article.php
@@ -854,9 +854,6 @@
855855 if ($wgUseTrackbacks)
856856 $this->addTrackbacks();
857857
858 - # Put link titles into the link cache
859 - $wgOut->transformBuffer();
860 -
861858 # Add link titles as META keywords
862859 $wgOut->addMetaTags() ;
863860
Index: trunk/phase3/includes/OutputPage.php
@@ -515,8 +515,6 @@
516516 # Buffer output; final headers may depend on later processing
517517 ob_start();
518518
519 - $this->transformBuffer();
520 -
521519 # Disable temporary placeholders, so that the skin produces HTML
522520 $sk->postParseLinkColour( false );
523521
@@ -620,7 +618,6 @@
621619 $this->setArticleRelated( false );
622620 $this->mBodytext = '';
623621
624 - $sk = $wgUser->getSkin();
625622 $this->addWikiText( wfMsg( 'versionrequiredtext', $version ) );
626623 $this->returnToMain();
627624 }
@@ -937,13 +934,6 @@
938935 }
939936
940937 /**
941 - * Run any necessary pre-output transformations on the buffer text
942 - */
943 - function transformBuffer( $options = 0 ) {
944 - }
945 -
946 -
947 - /**
948938 * Turn off regular page output and return an error reponse
949939 * for when rate limiting has triggered.
950940 * @todo i18n

Status & tagging log