From 18f8a3e67e75c333fcaec591c1ca6ebb0c3e3aed Mon Sep 17 00:00:00 2001 From: Tigerfell Date: Sun, 18 Nov 2018 21:26:46 +0100 Subject: [PATCH] adding automatic double redirect resolution --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 3 +++ 1 file changed, 3 insertions(+) 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/' ); -- 2.39.5