]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: Increase wikicommons descriptionCacheExpiry
authorGrant Slater <github@firefishy.com>
Fri, 24 Jan 2025 13:42:51 +0000 (13:42 +0000)
committerGrant Slater <github@firefishy.com>
Fri, 24 Jan 2025 13:42:51 +0000 (13:42 +0000)
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,