As an editor i would like to hotlink external images like webp, ico and svg. Now this formats are not parsed as an image.
As a company that uses MediaWiki, we would like to hotlink images that don't match regex specified in Parser::EXT_IMAGE_REGEX without making changes in MW Core.
Example image links:
- https://static.wikia.nocookie.net/olympians/images/c/c0/Luke_Castellan-Viria.jpg/revision/latest/top-crop/width/300/height/300?cb=20170220004745
- https://static.wikia.nocookie.net/4b996cb1-f952-40db-b5f5-91ddd28eba04/thumbnail/width/400/height/400
Our propositions:
- Update Parser::EXT_IMAGE_REGEX https://gerrit.wikimedia.org/r/c/mediawiki/core/+/664776
- Add MW config variable https://gerrit.wikimedia.org/r/c/mediawiki/core/+/663183/
- Add MW hook https://gerrit.wikimedia.org/r/c/mediawiki/core/+/661376/