From: Tim Starling Date: Fri, 30 Nov 2007 16:57:02 +0000 (+0000) Subject: limit report on page view X-Git-Tag: 1.31.0-rc.0~50660 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=c2f51d026bbc4db3b858c38972e9fd0ceb964426;p=lhc%2Fweb%2Fwiklou.git limit report on page view --- diff --git a/includes/Article.php b/includes/Article.php index 045ea69993..96ff213487 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -3147,9 +3147,11 @@ class Article { $popts = $wgOut->parserOptions(); $popts->setTidy(true); + $popts->enableLimitReport(); $parserOutput = $wgParser->parse( $text, $this->mTitle, $popts, true, true, $this->getRevIdFetched() ); $popts->setTidy(false); + $popts->enableLimitReport( false ); if ( $cache && $this && $parserOutput->getCacheTime() != -1 ) { $parserCache =& ParserCache::singleton(); $parserCache->save( $parserOutput, $this, $wgUser );