Skip to content Skip to navigation

.qsf, .m and .mat files added to MIME list for MediaWiki

Topics: 

Greetings!

I'm attempting to build a Wiki for our lab that will also serve as a repository of files that are commonly used by our members. I've added .qsf (Exported Qualtrics Surveys), .mat (matlab data files) and .m (matlab scripts) to the $wgFileExtensions array in our wiki's LocalSettings.php file, but when I try to upload one of these files, I receive the error that it doesn't match MIME type. From what I can tell, someone has to add these types to the /afs/ir/dist/web/includes/mediawiki-1.16.5/includes/MimeMagic.php file. I could be wrong, though. Anyone able to do this or help me figure out a workaround?

Thanks so much!