mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- 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>
27 lines
565 B
PHP
27 lines
565 B
PHP
<?php
|
|
|
|
# Default logo
|
|
$wgLogo = "$wgResourceBasePath/resources/assets/mediawiki.png";
|
|
|
|
# Enable file uploads
|
|
$wgEnableUploads = true;
|
|
|
|
# Public registrations
|
|
$wgGroupPermissions['*']['createaccount'] = false;
|
|
|
|
# Read/write permissions for anonymous users
|
|
$wgGroupPermissions['*']['edit'] = false;
|
|
$wgGroupPermissions['*']['read'] = true;
|
|
|
|
# Short urls
|
|
$wgArticlePath = "/mediawiki/$1";
|
|
$wgUsePathInfo = true;
|
|
|
|
# Instant Commons
|
|
$wgUseInstantCommons = true;
|
|
|
|
# SVG Enablement
|
|
$wgFileExtensions[] = 'svg';
|
|
$wgAllowTitlesInSVG = true;
|
|
$wgSVGConverter = 'ImageMagick';
|