patch for MediaWiki r65816
The file ./includes/mime.types assigns the old ppt, doc, etc. mimetypes to the new 2007 pptx, docx, etc. file endings as well. This is wrong, and it leads to problems especially with files served via the wfStreamFile() function: when downloading docx/pptx/... files on machines that run the Windows operating system, the file names get changed to fit the reported mimetype (i.e. the actual file name gets .doc/.ppt/... appended). The files named in this way cannot be successfully opened by Microsoft's office applications any more, since they fail to recognize their files (yes, one should file a bug at MS about this;-).
The solution is to use the correct mimetypes, as found on the Web, e.g. at http://www.bram.us/2007/05/25/office-2007-mime-types-for-iis/
A patch is attached.
Version: unspecified
Severity: normal
Attached: