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:
cb4cef1
)
Fix profiling
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 28 Apr 2008 17:14:33 +0000
(17:14 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 28 Apr 2008 17:14:33 +0000
(17:14 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
4d2bd38
..
a5162d6
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1520,6
+1520,8
@@
class Parser
}
if( is_null( $this->mTitle ) ) {
+ wfProfileOut( $fname );
+ wfProfileOut( $fname.'-setup' );
throw new MWException( __METHOD__.": \$this->mTitle is null\n" );
}
$nottalk = !$this->mTitle->isTalkPage();
@@
-1609,6
+1611,7
@@
class Parser
# should be external links.
if (preg_match('/^\b(?:' . wfUrlProtocols() . ')/', $m[1])) {
$s .= $prefix . '[[' . $line ;
+ wfProfileOut( "$fname-misc" );
continue;
}