Last modified: 2010-05-02 19:41:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25375, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23375 - No longer possible to upload oga or ogv
No longer possible to upload oga or ogv
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.17.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Com...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-01 22:23 UTC by Derk-Jan Hartman
Modified: 2010-05-02 19:41 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
fix mime tables for oga (2.86 KB, patch)
2010-05-01 22:45 UTC, Derk-Jan Hartman
Details
added spx to the application/ogg list (2.87 KB, patch)
2010-05-01 22:59 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2010-05-01 22:23:32 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.....
Comment 1 Huib abigor Laurens 2010-05-01 22:27:21 UTC
This is not critical, I removed that
Comment 2 Platonides 2010-05-01 22:41:08 UTC
I get the error locally for .oga, but not for .ogv (for an audio only file)
Comment 3 Derk-Jan Hartman 2010-05-01 22:45:50 UTC
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.
Comment 4 Derk-Jan Hartman 2010-05-01 22:56:40 UTC
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....
Comment 5 Derk-Jan Hartman 2010-05-01 22:59:46 UTC
Created attachment 7344 [details]
added spx to the application/ogg list

Noticed that the application/ogg list was missing the .spx extension.
Comment 6 Bryan Tong Minh 2010-05-02 19:41:07 UTC
Fixed in r65816.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links