]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-QuickInstantCommons.inc.php.erb
mediawiki: Increase wikicommons descriptionCacheExpiry
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-QuickInstantCommons.inc.php.erb
index 0a5828ccd815a830b3b21f41a1def4f30aaff8d2..06151ed58f4b1e2fc239384852686a83b1fee814 100644 (file)
@@ -10,7 +10,7 @@ $wgForeignFileRepos[] = [
        'hashLevels' => 2,
        'thumbUrl' => 'https://upload.wikimedia.org/wikipedia/commons/thumb',
        'fetchDescription' => true,
-       'descriptionCacheExpiry' => 43200,
+       'descriptionCacheExpiry' => 60*60*24*30,
        'transformVia404' => true,
        'abbrvThreshold' => 160,
        'apiMetadataExpiry' => 60*60*24*30,