From: Gergő Tisza Date: Wed, 25 Jan 2017 20:03:33 +0000 (-0800) Subject: InstantCommons: do not cache thumbs X-Git-Tag: 1.31.0-rc.0~4229^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/wiki/supprimer.php?a=commitdiff_plain;h=a75973d8833277eb0683749a37bb0d517cdd3116;p=lhc%2Fweb%2Fwiklou.git 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 --- 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, ]; } /*