Log page titles that are more than 10% of the node count limit
Change-Id: I6824d305efd73de95ad15c65d3421886c2f86aa9
This commit is contained in:
parent
94158d6387
commit
ade7daae2c
1 changed files with 5 additions and 0 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue