From 09a0cd1da2bf7772c93e36eeff5fd8f4688fd339 Mon Sep 17 00:00:00 2001 From: Gilles Dubuc Date: Tue, 22 Jul 2014 13:20:12 -0400 Subject: [PATCH] Change the default for wgThumbnailMinimumBucketDistance This has no effect while $wgThumbnailBuckets is null (the default), but once buckets are enabled, 0 is a poor setting for the minimum distance. 50 is arbitrary but definitely better than leaving it at 0. Change-Id: I845af18cfd00627b26f6325c1d1a512a492a8f7c --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7c81294e0a..91ab25a9bf 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1237,7 +1237,7 @@ $wgThumbnailBuckets = null; * If we want to render a thumbnail of width 220px, the 512px bucket will be used, * because 220 + 50 = 270 and the closest bucket bigger than 270px is 512. */ -$wgThumbnailMinimumBucketDistance = 0; +$wgThumbnailMinimumBucketDistance = 50; /** * Default parameters for the "" tag -- 2.20.1