From: Brion Vibber Date: Thu, 25 Nov 2004 06:19:21 +0000 (+0000) Subject: Profile point X-Git-Tag: 1.5.0alpha1~1242 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=ae1c25155d7a1f5cc836181c1aed4103ebb8a694;p=lhc%2Fweb%2Fwiklou.git Profile point --- 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; }