Last modified: 2010-05-02 19:41:07 UTC
A user on Commons reported that he could not upload files with .oga or .ogv because "File extension does not match MIME type." This is probably because the ogg file needs to be parsed before any mimetype other than application/ogg is detected.....
This is not critical, I removed that
I get the error locally for .oga, but not for .ogv (for an audio only file)
Created attachment 7343 [details] fix mime tables for oga This is actually probably just oga specific. This patch cleans up the mime info for oga and I think it will fix this problem.
I have verified that I can now upload a .oga on my local wiki. The patch fixes the mime definitions as specified per: http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions Since all are basically the same filetype, just with different content, all extensions are listed under application/ogg Perhaps .ogx should be added to all audio/ogg and video/ogg as well as a backup filetype ? not sure on that....
Created attachment 7344 [details] added spx to the application/ogg list Noticed that the application/ogg list was missing the .spx extension.
Fixed in r65816.