Brian Wolff has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/225683

Change subject: Increase $wgSVGMaxSize to 5120 pixels wide (previously 2048).
......................................................................

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
---
M includes/DefaultSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/83/225683/1

diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index baefef9..22e9e30 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -1021,7 +1021,7 @@
 /**
  * Don't scale a SVG larger than this
  */
-$wgSVGMaxSize = 2048;
+$wgSVGMaxSize = 5120;
 
 /**
  * Don't read SVG metadata beyond this point.

-- 
To view, visit https://gerrit.wikimedia.org/r/225683
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I306a792e61e7c738982b9dbde8a63aa31acf38a8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to