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:
89eeb40
)
fix profiling
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 6 Mar 2009 00:20:44 +0000
(
00:20
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 6 Mar 2009 00:20:44 +0000
(
00:20
+0000)
includes/parser/Preprocessor_DOM.php
patch
|
blob
|
history
diff --git
a/includes/parser/Preprocessor_DOM.php
b/includes/parser/Preprocessor_DOM.php
index
bd33c10
..
2e11454
100644
(file)
--- a/
includes/parser/Preprocessor_DOM.php
+++ b/
includes/parser/Preprocessor_DOM.php
@@
-873,7
+873,6
@@
class PPFrame_DOM implements PPFrame {
if ( is_string( $root ) ) {
return $root;
}
- wfProfileIn( __METHOD__ );
if ( ++$this->parser->mPPNodeCount > $this->parser->mOptions->mMaxPPNodeCount )
{
@@
-883,6
+882,7
@@
class PPFrame_DOM implements PPFrame {
if ( $expansionDepth > $this->parser->mOptions->mMaxPPExpandDepth ) {
return '<span class="error">Expansion depth limit exceeded</span>';
}
+ wfProfileIn( __METHOD__ );
++$expansionDepth;
if ( $root instanceof PPNode_DOM ) {