From 38e0048fe9c0b91b9a6a1fd66d34fa24749de3bf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 1 Sep 2003 19:40:52 +0000 Subject: [PATCH] Don't cache pages that don't exist --- includes/Article.php | 1 + 1 file changed, 1 insertion(+) 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()) -- 2.20.1