From 9d9096c7c9f49a04b3efc53649f66d989ab5c18c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 27 Apr 2015 14:46:44 -0700 Subject: [PATCH] Fixed default $wgMainWANCache to trigger Setup.php logic Change-Id: I8a5b2f5bd41bfc58568f1a2d96d74ddd5d8d86ed --- includes/DefaultSettings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 2145d8a952..5b7e94aa38 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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. -- 2.20.1