When apiThumbCacheExpiry is set to a non-zero value, the output created using APIForeignRepo with an SVG is:
<img alt="To laze is divine." src="http://wiki.example.com/wiki/files/commons/commons/Lazy_sleeping_barnstar.svg/500px-Lazy_sleeping_barnstar.svg" width="500" height="500" border="0" />
When apiThumbCacheExpiry is set to 0 (disabling it), the output created using APIForeignRepo with an SVG is:
<img alt="To laze is divine." src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Lazy_sleeping_barnstar.svg/500px-Lazy_sleeping_barnstar.svg.png" width="500" height="500" border="0" />
Disabling apiThumbCacheExpiry uses the PNG thumbs from the foreign repo while enabling cache creates local thumbs that are not converted to PNG.
Version: unspecified
Severity: minor