mediawiki: Enable SVG support for MediaWiki

- Changed configuration file FreedomBoxSettings.php to enable SVG extension.
- Added functional test for upload and viewing of svg file.
- Modified the existing functional test with image file name as parameter.

Closes #1354

Signed-off-by: Vignan Lavu <vignan.lavu@gmail.com>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Vignan Lavu authored and Joseph Nuthalapati committed 2018-08-31 00:14:11 +05:30
1 parent aa90564c96
commit 537e2c7de8
4 files changed
+30 -14

No files matched your search

@@ -19,3 +19,8 @@ $wgUsePathInfo = true;
# Instant Commons
$wgUseInstantCommons = true;
# SVG Enablement
$wgFileExtensions[] = 'svg';
$wgAllowTitlesInSVG = true;
$wgSVGConverter = 'ImageMagick';