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:
5204507
)
fix broken profiling
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 18 Aug 2008 05:58:54 +0000
(
05:58
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 18 Aug 2008 05:58:54 +0000
(
05:58
+0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
20b22e1
..
da0d68d
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-1522,8
+1522,8
@@
class Parser
}
if( is_null( $this->mTitle ) ) {
}
if( is_null( $this->mTitle ) ) {
- wfProfileOut( __METHOD__ );
wfProfileOut( __METHOD__.'-setup' );
wfProfileOut( __METHOD__.'-setup' );
+ wfProfileOut( __METHOD__ );
throw new MWException( __METHOD__.": \$this->mTitle is null\n" );
}
$nottalk = !$this->mTitle->isTalkPage();
throw new MWException( __METHOD__.": \$this->mTitle is null\n" );
}
$nottalk = !$this->mTitle->isTalkPage();
@@
-1723,8
+1723,6
@@
class Parser
# cloak any absolute URLs inside the image markup, so replaceExternalLinks() won't touch them
$s .= $prefix . $this->armorLinks( $this->makeImage( $nt, $text, $holders ) ) . $trail;
# cloak any absolute URLs inside the image markup, so replaceExternalLinks() won't touch them
$s .= $prefix . $this->armorLinks( $this->makeImage( $nt, $text, $holders ) ) . $trail;
-
- wfProfileOut( __METHOD__."-image" );
}
$this->mOutput->addImage( $nt->getDBkey() );
wfProfileOut( __METHOD__."-image" );
}
$this->mOutput->addImage( $nt->getDBkey() );
wfProfileOut( __METHOD__."-image" );