dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c64ec
)
Profile point
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 25 Nov 2004 06:19:21 +0000
(06:19 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 25 Nov 2004 06:19:21 +0000
(06:19 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
5562294
..
5437d46
100644
(file)
--- 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;
}