From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:00:47 +0200 Subject: applying patch to version 1.15.0 --- includes/Setup.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/Setup.php') diff --git a/includes/Setup.php b/includes/Setup.php index 859ad008..d450dfdb 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -197,6 +197,10 @@ if($wgMetaNamespace === FALSE) { # To determine the user language, use $wgLang->getCode() $wgContLanguageCode = $wgLanguageCode; +# Easy to forget to falsify $wgShowIPinHeader for static caches. +# If file cache or squid cache is on, just disable this (DWIMD). +if( $wgUseFileCache || $wgUseSquid ) $wgShowIPinHeader = false; + wfProfileOut( $fname.'-misc1' ); wfProfileIn( $fname.'-memcached' ); -- cgit v1.2.2