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:
32062f6
)
Don't use the parser cache for non-existent articles
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 17 Apr 2005 08:08:13 +0000
(08:08 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 17 Apr 2005 08:08:13 +0000
(08:08 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
3b98ca6
..
4b8b92d
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-672,7
+672,7
@@
class Article {
}
}
# Should the parser cache be used?
- if ( $wgEnableParserCache && intval($wgUser->getOption( 'stubthreshold' )) == 0 && empty( $oldid ) ) {
+ if ( $wgEnableParserCache && intval($wgUser->getOption( 'stubthreshold' )) == 0 && empty( $oldid )
&& $this->getID()
) {
$pcache = true;
} else {
$pcache = false;