[Mediawiki-l] mime types

Lane, Ryan Ryan.Lane at ocean.navo.navy.mil
Wed Jan 30 14:47:36 UTC 2008

> Just guessing here, but wouldn't it be possible to put something like:
> 	application/msword 		doc
> 	application/vnd.ms-excel	xls
> 	application/vnd.ms-powerpoint	ppt
> and skip the coding?
> Mike

No, because then MediaWiki won't let you upload the file because the
system sees the ppt and xls files as msword mime type. The real problem
is that all of those formats have the same magic number, so you have to
do trickery.

This may be different with older version of office, but the newer
versions seem to do this. 


Ryan Lane

More information about the MediaWiki-l mailing list