From 07ab9dcdf21bb1942cc2d2b38cf8e809fe424226 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Sun, 19 Jul 2015 04:06:11 -0600 Subject: [PATCH] Increase $wgSVGMaxSize to 5120 pixels wide (previously 2048). People use mediawiki for all sorts of things, restricting to 2048px wide seems much to strict as the default setting (imo). It should be noted, MediaWiki, can, in the default config (but with some non-default user prefs), include images of up to size 2560 px on the image description page, so the max svg size should at least be that big. Change-Id: I306a792e61e7c738982b9dbde8a63aa31acf38a8 Note: this doesn't affect WMF, as they have it overridden to 4096 --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index baefef91ef..22e9e3099e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1021,7 +1021,7 @@ $wgSVGConverterPath = ''; /** * Don't scale a SVG larger than this */ -$wgSVGMaxSize = 2048; +$wgSVGMaxSize = 5120; /** * Don't read SVG metadata beyond this point. -- 2.20.1