From: Tigerfell Date: Sun, 18 Nov 2018 20:26:46 +0000 (+0100) Subject: adding automatic double redirect resolution X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/18f8a3e67e75c333fcaec591c1ca6ebb0c3e3aed?ds=sidebyside adding automatic double redirect resolution --- diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index b13885937..18dc6aec9 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -236,6 +236,9 @@ $wgShowIPinHeader = FALSE; # Job Runs by cron $wgJobRunRate = 0; +# dissolves double redirects automatically +$wgFixDoubleRedirects = TRUE; + # Allow external images from a few sites $wgAllowExternalImagesFrom = array( 'http://tile.openstreetmap.org/', 'http://svenanders.openstreetmap.de/', 'http://josm.openstreetmap.de/', 'http://trac.openstreetmap.org/', 'http://rweait.dev.openstreetmap.org/' );