From ae1c25155d7a1f5cc836181c1aed4103ebb8a694 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 25 Nov 2004 06:19:21 +0000 Subject: [PATCH] Profile point --- includes/Article.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/Article.php b/includes/Article.php index 55622944c3..5437d46e30 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -69,6 +69,9 @@ class Article { * @return string $text|false the text requested */ function getRevisionText( $row, $prefix = 'old_' ) { + $fname = 'Article::getRevisionText'; + wfProfileIn( $fname ); + # Get data $textField = $prefix . 'text'; $flagsField = $prefix . 'flags'; @@ -111,6 +114,7 @@ class Article { global $wgInputEncoding, $wgContLang; $text = $wgContLang->iconv( $wgLegacyEncoding, $wgInputEncoding, $text ); } + wfProfileOut( $fname ); return $text; } -- 2.20.1