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:
7863125
)
limit report on page view
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 30 Nov 2007 16:57:02 +0000
(16:57 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 30 Nov 2007 16:57:02 +0000
(16:57 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
045ea69
..
96ff213
100644
(file)
--- 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 );