PictureHtmlSupport
The PictureHtmlSupport extension wraps MediaWiki thumbnails on wiki page with <picture>
elements and allow the user to add additional <source>
elements within <picture>
.
Installation
-
Add the following line to
LocalSettings.php
:wfLoadExtension( 'PictureHtmlSupport' );
-
Replace
includes/media/ThumbnailImage.php
(make a backup!) withincludes/ThumbnailImage.php
from this extension.