Robert Vogel has submitted this change and it was merged.

Change subject: Added xml and svg as default allowed file types
......................................................................


Added xml and svg as default allowed file types

Both xml and svg can now be uploaded to a default BSP installation.

Change-Id: I51af0c7c8a3af2814c2dac5ce2fa86756065ba33
---
M includes/Core.class.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Core.class.php b/includes/Core.class.php
index 58ba9cd..5cc9ab1 100644
--- a/includes/Core.class.php
+++ b/includes/Core.class.php
@@ -121,7 +121,8 @@
                        'ppt', 'pot', 'pps', 'pptx', 'pptm', 'potx', 'potm', 
'ppsx', 'ppsm', 'sldx', 'sldm',
                        'odt', 'fodt', 'ods', 'fods', 'odp', 'fodp',
                        'pdf',
-                       'zip', 'rar', 'tar', 'tgz', 'gz', 'bzip2', '7zip'
+                       'zip', 'rar', 'tar', 'tgz', 'gz', 'bzip2', '7zip',
+                       'xml', 'svg'
                );
                $aImages = array( 'png', 'gif', 'jpg', 'jpeg' );
                BsConfig::registerVar( 'MW::FileExtensions', $aFiles, 
BsConfig::LEVEL_PUBLIC  | BsConfig::TYPE_ARRAY_STRING, 
'bs-pref-fileextensions', 'multiselectplusadd' );

-- 
To view, visit https://gerrit.wikimedia.org/r/273418
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I51af0c7c8a3af2814c2dac5ce2fa86756065ba33
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Mglaser <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to