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:
0825b75
)
It should only be saved in the ParserCache if it IS cacheable.
author
Platonides
<platonides@users.mediawiki.org>
Mon, 9 Aug 2010 15:28:23 +0000
(15:28 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Mon, 9 Aug 2010 15:28:23 +0000
(15:28 +0000)
Confusion in r67185, when translating the original condition (!= -1)
into the new isCacheable().
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
f9825ff
..
9f07201
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1061,7
+1061,7
@@
class OutputPage {
$popts, true, true, $this->mRevisionId
);
$popts->setTidy( false );
- if ( $cache && $article &&
!
$parserOutput->isCacheable() ) {
+ if ( $cache && $article && $parserOutput->isCacheable() ) {
$parserCache = ParserCache::singleton();
$parserCache->save( $parserOutput, $article, $popts );
}