Fix documentation lies about debug toolbar / cache interaction
authorRoan Kattouw <roan.kattouw@gmail.com>
Tue, 8 Mar 2016 21:47:55 +0000 (13:47 -0800)
committerRoan Kattouw <roan.kattouw@gmail.com>
Tue, 8 Mar 2016 21:47:55 +0000 (13:47 -0800)
Setup.php lines 434-438:

// Easy to forget to falsify $wgDebugToolbar for static caches.
// If file cache or CDN cache is on, just disable this (DWIMD).
if ( $wgUseFileCache || $wgUseSquid ) {
$wgDebugToolbar = false;
}

Change-Id: I911e8655026860823d6d869579d38a37157a448a

includes/DefaultSettings.php

index c04602c..c208f08 100644 (file)
@@ -5973,7 +5973,7 @@ $wgCachePrefix = false;
 /**
  * Display the new debugging toolbar. This also enables profiling on database
  * queries and other useful output.
- * Will disable file cache.
+ * Will be ignored if $wgUseFileCache or $wgUseSquid is enabled.
  *
  * @since 1.19
  */