Thread:Project:Support desk/Uploading RData files mime-type conflict

I want to allow the upload of R data files with the RData extension. When I check the mime type it turns out to be application/octet-stream as per http://www.filesuffix.com/en/extension/rdata or http://mime.ritey.com/ So I include that info into the mime.types file and allow for RData extensions in the LocalSettings file.

But when I try and upload such a file I get the following error message:

File extension ".RData" does not match the detected MIME type of the file (application/x-gzip).

I also tried to add RData to the application/x-gzip mime type in mime.types, but that didn't do the trick either. Any ideas of where the problem is?

we are using the following versions: MediaWiki	1.24.2 PHP	5.3.3 (apache2handler) MySQL	5.1.73