Nice stuff. Could you add support for the link parameter?
This post was posted by Kghbln, but signed as Tom Edwards.
works in this revision
Nice stuff. Could you add support for the link parameter?
This post was posted by Kghbln, but signed as Tom Edwards.
Seconded.
SVG files display well, but the image is not wrapped in a link to the file page. This includes thumbnails in the category view which seriously reduces operability.
I had this same problem, so I hacked the code quickly: added link wrapper, copied from base MediaTransformOutput class, https://doc.wikimedia.org/mediawiki-core/master/php/html/MediaTransformOutput_8php_source.html
I've submitted a pull request, but in the meantime, interested parties can get my copy from https://github.com/kvand/NativeSvgHandler.