From e4a5eedc24f5ed1115490dac219a8370e0ecad40 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 4 Aug 2011 23:00:02 +0000 Subject: [PATCH] Fix profiling in Article::getParserOutput() --- includes/Article.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } /** -- 2.20.1