Manual:$wgSVGMaxSize

Details
Don't scale a SVG larger than this unless its native size is larger.