r93932 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93931‎ | r93932 | r93933 >
Date:23:00, 4 August 2011
Author:demon
Status:ok
Tags:
Comment:
Fix profiling in Article::getParserOutput()
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1893,8 +1893,9 @@
18941894 $text = $rev->getText();
18951895 }
18961896
 1897+ $output = $this->getOutputFromWikitext( $text, $useParserCache );
18971898 wfProfileOut( __METHOD__ );
1898 - return $this->getOutputFromWikitext( $text, $useParserCache );
 1899+ return $output;
18991900 }
19001901
19011902 /**

Status & tagging log