r70767 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r70766
|
r70767
|
r70768
>
Date:
15:28, 9 August 2010
Author:
platonides
Status:
ok (
Comments
)
Tags:
Comment:
It should only be saved in the ParserCache if it IS cacheable.
Confusion in
r67185
, when translating the original condition (!= -1)
into the new isCacheable().
Modified paths:
/trunk/phase3/includes/OutputPage.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/OutputPage.php
—
—
@@ -1061,7 +1061,7 @@
1062
1062
$popts, true, true, $this->mRevisionId
1063
1063
);
1064
1064
$popts->setTidy( false );
1065
- if ( $cache && $article && !$parserOutput->isCacheable() ) {
1065
+ if ( $cache && $article && $parserOutput->isCacheable() ) {
1066
1066
$parserCache = ParserCache::singleton();
1067
1067
$parserCache->save( $parserOutput, $article, $popts );
1068
1068
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r67185
allow parser/extensions to control for how long a ParserOutput gets cached. I...
daniel
14:28, 1 June 2010
Comments
#
Comment by
Duesentrieb
(
talk
|
contribs
)
18:45, 9 August 2010
oops, thanks for catching that.
#
Comment by
Platonides
(
talk
|
contribs
)
19:53, 9 August 2010
No problem :)
Status & tagging log
18:09, 17 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r70767
[
removed:
new
added:
ok]