Can someone please explain step by step how I can generate svg drawing and include them in the wiki pages? I always get .png images.
I also wonder where the drawing data are actually stored by this extension.
Can someone please explain step by step how I can generate svg drawing and include them in the wiki pages? I always get .png images.
I also wonder where the drawing data are actually stored by this extension.
My solution is this:
'http://www.w3.org/1999/xhtml'
to $validNamespaces
in ./includes/upload/UploadBase.php
'svg'
to $wgFileExtensions
in LocalSettings.php
{{#drawio:figureName|type=svg}}
Edit
Fatal exception of type "Error"
$wgShowExceptionDetails = true;
to LocalSettings.phpError: Call to undefined function MediaWiki\Extension\DrawioEditor\MXDocumentExtractor\gzinflate()
zlib
to the php-profile of my web-service.Web Station
interface --> Script Language Settings
--> Extensions