Gergő Tisza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/336675 )

Change subject: InstantCommons: do not cache thumbs
......................................................................

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
(cherry picked from commit a75973d8833277eb0683749a37bb0d517cdd3116)
---
M includes/Setup.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/75/336675/1

diff --git a/includes/Setup.php b/includes/Setup.php
index 580d29b..84bcb98 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -241,7 +241,7 @@
                'transformVia404' => true,
                'fetchDescription' => true,
                'descriptionCacheExpiry' => 43200,
-               'apiThumbCacheExpiry' => 86400,
+               'apiThumbCacheExpiry' => 0,
        ];
 }
 /*

-- 
To view, visit https://gerrit.wikimedia.org/r/336675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0bd4b539f575036dd865bdd946660f10a9ee8801
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_27
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to