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:
94158d6
)
Log page titles that are more than 10% of the node count limit
author
Tim Starling
<tstarling@wikimedia.org>
Thu, 20 Sep 2012 04:39:32 +0000
(14:39 +1000)
committer
Tim Starling
<tstarling@wikimedia.org>
Thu, 20 Sep 2012 04:39:32 +0000
(14:39 +1000)
Change-Id: I6824d305efd73de95ad15c65d3421886c2f86aa9
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
2a24bee
..
59d379a
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-491,6
+491,11
@@
class Parser {
$PFreport;
wfRunHooks( 'ParserLimitReport', array( $this, &$limitReport ) );
$text .= "\n<!-- \n$limitReport-->\n";
+
+ if ( $this->mGeneratedPPNodeCount > $this->mOptions->getMaxGeneratedPPNodeCount() / 10 ) {
+ wfDebugLog( 'generated-pp-node-count', $this->mGeneratedPPNodeCount . ' ' .
+ $this->mTitle->getPrefixedDBkey() );
+ }
}
$this->mOutput->setText( $text );