From a75973d8833277eb0683749a37bb0d517cdd3116 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Wed, 25 Jan 2017 12:03:33 -0800 Subject: [PATCH] InstantCommons: do not cache thumbs There is no point in local thumb caching when we set apibase and thumbUrl to the remote wiki. It will only confuse MediaWiki into creating local thumbnails for certain LinksUpdate tasks even though the rendered page will reference thumbnails hosted on Commons. Bug: T145496 Change-Id: I0bd4b539f575036dd865bdd946660f10a9ee8801 --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Setup.php b/includes/Setup.php index 9f722afd86..c452779030 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -242,7 +242,7 @@ if ( $wgUseInstantCommons ) { 'transformVia404' => true, 'fetchDescription' => true, 'descriptionCacheExpiry' => 43200, - 'apiThumbCacheExpiry' => 86400, + 'apiThumbCacheExpiry' => 0, ]; } /* -- 2.20.1