Add SVG file handling

This commit is contained in:
Sid 2025-01-29 22:01:03 +01:00
parent 8c710546af
commit 2b58c9a4e0
Signed by: autinerd
SSH key fingerprint: SHA256:Ko/pM/cFnE8Mr5y6ECcI0Z908mhmO64puMHf9BK99Zg

View file

@ -202,3 +202,8 @@ $wgHideInterlanguageLinks = false;
# uncomment this if Semantic MediaWiki property locking is broken
#$smwgChangePropagationProtection = false;
# SVG config
$wgFileExtensions[] = 'svg';
# This extension will no longer be needed in MediaWiki >= 1.41, then $wgSVGNativeRendering can be used
wfLoadExtension( 'NativeSvgHandler' );