Thread:Project:Support desk/Add mime type for visio

Hallo, what else can be done in a media-wiki Vers. 1.21.1 installation with following problem. Wenn trying to load up a visio file of 262KB the process is quitted by :
 * Upload warning
 * File extension ".vsd" does not match the detected MIME type of the file (application/msword).
 * Source file
 * Source filename:
 * Maximum file size: 64 MB (a file on your computer)
 * Permitted file types: png, gif, jpg, jpeg, db, doc, docx, x
 * Permitted file types: png, gif, jpg, jpeg, db, doc, docx, x

ls, xlsx, mpp, pdf, ppt, pptx, png, jpg, tiff, odt, odg, ods, odp, vcf, vsd, zip.

Tried in vain to add the extension .vsd as a mime type by adding :

1. following lines to /includes/mime.info image/x-vsd	[BITMAP] application/visio	application/x-visio	application/vnd.visio	application/visio.drawing	application/vsd	application/x-vsd	image/x-vsd	zz-application/zz-winassoc-vsd [GRAFIK]

2. following lines to /includes/mime.types application/visio vsd application/x-visio vsd application/vnd.visio vsd application/visio.drawing vsd application/vsd vsd application/x-vsd vsd image/x-vsd vsd

2b. only 'vsd' in line application/x-opc+zip docx dotx docm dotm potx ppsx pptx ppam pptm potm ppsm xlsx xltx xlsm xltm xlam xlsb dwfx xps vsd

3. following lines to /LocalSettings.php image/x-vsd	[BITMAP]

application/visio	application/x-visio	application/vnd.visio	application/visio.drawing	application/vsd	application/x-vsd	image/x-vsd	zz-application/zz-winassoc-vsd [GRAFIK]

4. following lines to .htaccess AddType application/vnd.ms-visio.viewer .vdx AddType application/visio .vsd AddType application/x-visio .vsd AddType application/vnd.visio .vsd AddType application/visio.drawing .vsd AddType application/vsd .vsd AddType application/x-vsd .vsd AddType image/x-vsd .vsd