From: Brion Vibber Date: Mon, 1 Sep 2003 19:40:52 +0000 (+0000) Subject: Don't cache pages that don't exist X-Git-Tag: 1.1.0~291 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=38e0048fe9c0b91b9a6a1fd66d34fa24749de3bf;p=lhc%2Fweb%2Fwiklou.git Don't cache pages that don't exist --- diff --git a/includes/Article.php b/includes/Article.php index ac1951b9ac..a7ed414e07 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1089,6 +1089,7 @@ class Article { global $action, $oldid, $diff, $redirect, $printable; return $wgUseFileCache and (!$wgShowIPinHeader) + and ($this->getID() != 0) and ($wgUser->getId() == 0) and (!$wgUser->getNewtalk()) and ($this->mTitle->getNamespace != Namespace::getSpecial())