]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: Allow apiThumbCacheExpiry caching
authorGrant Slater <git@firefishy.com>
Sun, 3 Apr 2022 02:28:01 +0000 (03:28 +0100)
committerGrant Slater <git@firefishy.com>
Sun, 3 Apr 2022 02:28:01 +0000 (03:28 +0100)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 525ccc59d2acc69d977b6e4bc8981edea9ee2ca0..c341691d15a4f48a20d3270696970c9ea43af00f 100644 (file)
@@ -123,7 +123,7 @@ $wgForeignFileRepos[] = [
   'transformVia404' => true,
   'fetchDescription' => true,
   'descriptionCacheExpiry' => 604800,
-  'apiThumbCacheExpiry' => 0,
+  'apiThumbCacheExpiry' => 604800,
 ];
 <% end -%>