From c2f51d026bbc4db3b858c38972e9fd0ceb964426 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 30 Nov 2007 16:57:02 +0000 Subject: [PATCH] limit report on page view --- includes/Article.php | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.20.1