Fixed default $wgMainWANCache to trigger Setup.php logic
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Apr 2015 21:46:44 +0000 (14:46 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Apr 2015 22:01:26 +0000 (15:01 -0700)
Change-Id: I8a5b2f5bd41bfc58568f1a2d96d74ddd5d8d86ed

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.