From: Chad Horohoe Date: Thu, 4 Aug 2011 23:00:02 +0000 (+0000) Subject: Fix profiling in Article::getParserOutput() X-Git-Tag: 1.31.0-rc.0~28426 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=e4a5eedc24f5ed1115490dac219a8370e0ecad40;p=lhc%2Fweb%2Fwiklou.git Fix profiling in Article::getParserOutput() --- diff --git a/includes/Article.php b/includes/Article.php index a3b8b90829..a120355032 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1893,8 +1893,9 @@ class Article extends Page { $text = $rev->getText(); } + $output = $this->getOutputFromWikitext( $text, $useParserCache ); wfProfileOut( __METHOD__ ); - return $this->getOutputFromWikitext( $text, $useParserCache ); + return $output; } /**