Manual:$wgSVGMaxSize/zh

Category:MediaWiki configuration settings/zh#SVGMaxSizeCategory:MediaWiki configuration settings introduced in version 1.5.0/zh#SVGMaxSizeCategory:MediaWiki configuration settings still in use/zh#SVGMaxSizeCategory:SVG variables/zh#SVGMaxSize
SVG: $wgSVGMaxSize
Don't scale a SVG larger than this unless its native size is larger.
引进版本:1.5.0 (r10961)
移除版本:仍在使用
允许的值:(integer)
2048

细节

The smaller side of a SVG will never be scaled to greater than this.

For example, if this setting is left unchanged at 2048 pixels, an attempt to rasterize a 200×100 SVG to 4000×2000 will succeed (since 2000 ≤ 2048). However, an attempt to rasterize it to 5000×2500 will generate a 4096×2048 image instead.

Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.5.0/zh Category:MediaWiki configuration settings still in use/zh Category:SVG variables/zh