From 67ac87beba89dd6c1a17fe574d2c86785d70b712 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 7 Feb 2012 21:30:41 +0000 Subject: [PATCH] Disable $wgDebugToolbar if file cache is turned on, as with $$wgShowIPinHeader --- includes/Setup.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Setup.php b/includes/Setup.php index 00df897229..1e0ab0b8bb 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -299,8 +299,10 @@ $wgContLanguageCode = $wgLanguageCode; # Easy to forget to falsify $wgShowIPinHeader for static caches. # If file cache or squid cache is on, just disable this (DWIMD). +# Do the same for $wgDebugToolbar. if ( $wgUseFileCache || $wgUseSquid ) { $wgShowIPinHeader = false; + $wgDebugToolbar = false; } # $wgAllowRealName and $wgAllowUserSkin were removed in 1.16 -- 2.20.1