starcitizenwiki / picture-html-support
A MediaWiki extension that wraps thumbnails with picture elements, and allows adding additional source elements
Installs: 269
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 1
Type:mediawiki-extension
Requires (Dev)
This package is auto-updated.
Last update: 2024-04-15 17:11:59 UTC
README
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.