https://bugzilla.wikimedia.org/show_bug.cgi?id=28940

--- Comment #2 from Bawolff <[email protected]> 2011-05-12 05:05:19 UTC ---
Created attachment 8530
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8530
Patch to make max height of an svg image only depend on $wgSVGMaxSize

Here's a patch that changes it so the max width for vectorized images, when
only the height is specified is $wgSVGMaxSize instead of being the actual width
of the image.

Not sure if this is the right place to put the check (but i guess where the
current check already is). Also it kind of uses $wgSVGMaxSize in a more generic
way (for all vectorized images, not just svgs) than the variable name would
suggest. Something doesn't feel quite right about it.

Anyways, I'm not sure if this patch is "right". I might commit it later when
I'm not as tired.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to