Merge "Fixed default $wgMainWANCache to trigger Setup.php logic"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 27 Apr 2015 22:15:54 +0000 (22:15 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 27 Apr 2015 22:15:54 +0000 (22:15 +0000)
includes/DefaultSettings.php

index 2145d8a..5b7e94a 100644 (file)
@@ -2148,11 +2148,13 @@ $wgObjectCaches = array(
  * cache with a relayer of type EventRelayerNull.
  *
  * The options are:
+ *   - false:            Configure the cache using $wgMainCacheType, without using
+ *                       a relayer (only matters if there are multiple data-centers)
  *   - CACHE_NONE:       Do not cache
  *   - (other):          A string may be used which identifies a cache
  *                       configuration in $wgWANObjectCaches.
  */
-$wgMainWANCache = CACHE_NONE;
+$wgMainWANCache = false;
 
 /**
  * Advanced WAN object cache configuration.