From: Brian Wolff Date: Sun, 19 Jul 2015 10:06:11 +0000 (-0600) Subject: Increase $wgSVGMaxSize to 5120 pixels wide (previously 2048). X-Git-Tag: 1.31.0-rc.0~10652^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=07ab9dcdf21bb1942cc2d2b38cf8e809fe424226;p=lhc%2Fweb%2Fwiklou.git 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 --- 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.