Manual:$wgSVGMaxSize

Details
Don't scale a SVG to a greater width than this.

Previous default was 1024, not sure when this changed.