Gergő Tisza has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/336674 )
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/74/336674/1
diff --git a/includes/Setup.php b/includes/Setup.php
index 7cda14c..c66ac9f 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -242,7 +242,7 @@
'transformVia404' => true,
'fetchDescription' => true,
'descriptionCacheExpiry' => 43200,
- 'apiThumbCacheExpiry' => 86400,
+ 'apiThumbCacheExpiry' => 0,
];
}
/*
--
To view, visit https://gerrit.wikimedia.org/r/336674
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_28
Gerrit-Owner: Gergő Tisza <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits