User "Bryan" posted a comment on MediaWiki.r88129.

Full URL: 
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88129#c16903
Commit summary:

(bug 28940) When making a thumb of an SVG, and only specifying the height
make the width be the max SVG size, not the natrual width of the SVG.

Some of the linker code here should perhaps be moved. See comments on bug 28940

Comment:

Now that I think of it; $wgSVGMaxSize is probably wrong, because the image may 
be some other non-svg vector image. I think the image handler should specify 
whether the image can be oversized; i.e. $file->getHandler()->canOversize(). 
Should be ok for now though.

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

Reply via email to