Commit graph

30 commits

Author SHA1 Message Date
Jeroen De Dauw
58ba646fcc added kml mime type 2012-01-27 22:11:57 +00:00
Antoine Musso
9a9034a5ba mime.types: add opendoc database
application/vnd.oasis.opendocument.database odb
2012-01-04 15:14:08 +00:00
Antoine Musso
4d38e074bd mime.types: sort opendocument entries
Sorted all application/vnd.oasis.opendocument entries, no other change.
2012-01-04 15:12:08 +00:00
Sam Reed
2f23e71490 arrray -> array
Whitespace

Other documentation improvements

Comment out some unused code (which has a fixme left with it already)
2011-11-01 23:48:09 +00:00
Sean Colombo
ece3989daf Merged in mime-type from Wikia (for Sawfish Window Manager). 2011-09-14 00:19:32 +00:00
Bryan Tong Minh
519d5427e2 Per CR, revert non debugging stuff from r82436. (KML uploads) 2011-06-29 20:31:43 +00:00
Bryan Tong Minh
1e68a65787 (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding the relevant mime info to mime.types and mime.info 2011-05-14 14:41:31 +00:00
Chad Horohoe
d684f95ed2 Revert r82922 (adding eml files to mime types). Per CR, these should be accompanied by appropriate sanity checks on upload 2011-04-16 00:16:02 +00:00
Mark A. Hershberger
d0970bee42 Add mime type/info for .eml files 2011-02-28 00:05:04 +00:00
Mark A. Hershberger
ec4dbd13cd Bug #26059 — Add support for KML/KMZ filetype
Patch from Derk-Jan Hartman of which he writes:

    I figured adding kml support would be a breeze, but I had not
    counted on the brain dead browser that is IE6.

    Unfortunately, kml contains the element <heading, which triggers
    the protection in detectScript() that protects from uploads that
    IE6 might mistake for HTML.  It triggers on "<head" not sure if we
    can work around this, but Tim will know.
2011-02-19 03:22:03 +00:00
Mark A. Hershberger
f96c0ddd63 re bug #25523: add mime.info and mime.types for *.dwg files so that when people add dwg to $wgFileExtensions, they can move files. 2011-02-18 21:54:19 +00:00
Derk-Jan Hartman
0e81f31105 Add support to upload WebP files. Disabled by default and no thumbnailing support.
Relates to bug 25397
2010-10-20 14:50:30 +00:00
Derk-Jan Hartman
bcd3dd1943 Recognize webm and matroska files. See also Bug 23888
Currently all webm files are stored as video/webm. It is not possible to detect 
wether this file is an audio file without using a full parser. This is why We should 
really move mime and mediatype accessors to the MediaHandlers.

Using video/x-matroska for MKV files. There is no official mime for MKV (though the 
webm isn't official either, but everyone is already using it apparently).
2010-07-28 19:24:00 +00:00
Derk-Jan Hartman
dbc59a9a25 Follow up r68279. epub is 'not' an opc archive 2010-06-20 22:21:33 +00:00
Derk-Jan Hartman
0ccd98bdb6 Add a new PNG parser in order to recognize APNG (animated PNG) images. 2010-06-20 16:09:12 +00:00
Derk-Jan Hartman
08c96166ee Bug 23642. Best effort mime detection for OpenXML files
OpenXML files are Open Package Convention files. Internally, we use the custom mime application/x-opc+zip for these files. In the database, we store the 'proper' mime, which we gu
ess from the file extension, or if not supported, application/zip. All OPC files are blacklisted by $wgMimeTypeBlacklist by default, just as other zip files.
2010-06-19 18:47:34 +00:00
Derk-Jan Hartman
51ad0907b4 Fix bug 23688. Correct the mime type definitions for Microsoft Office 2007 OpenXML files.
Original patch by Markus Krotzsch, adapted by me based on mime information found at:
http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx
2010-06-01 19:20:04 +00:00
Bryan Tong Minh
0a9762dd06 (bug 23375) Added ogv, oga, spx as extensions for ogg files. Patch by Derk-Jan Hartman. 2010-05-02 19:40:33 +00:00
Chad Horohoe
33afea46cc Followup r64509, need bmp after image/x-ms-bmp 2010-04-29 10:24:52 +00:00
Chad Horohoe
cadc248105 (bug 22935) image/x-ms-bmp mime type added for BMP files 2010-04-01 23:27:49 +00:00
Jack D. Pond
6aba8dab8b Added MS Office 7 file types for downloads. This is a hack solution - addressing the whole mime.types issue need to be done in the future. 2009-09-25 17:22:27 +00:00
Andrew Garrett
db973b90da Trailing whitespace 2009-02-17 23:50:08 +00:00
Andrew Garrett
43a0a45f55 Fix r47288 by using the *real* openoffice MIME types, pulled from http://books.evc-cit.info/odbook/ch01.html#mimetype-table 2009-02-17 23:49:17 +00:00
Siebrand Mazeland
66fe666e0b (bug 17497) Oasis opendocument added to mime.types (odg otg odt ott odp otp ods ots) 2009-02-15 12:21:44 +00:00
Aaron Schulz
adbe39518f (bug 16802) application/x-rar is not a known mime-type 2009-01-02 20:07:53 +00:00
Leon Weber
56efd64592 Also adding application/x-dia-diagram to mime.{types,info} 2008-04-27 14:28:29 +00:00
Siebrand Mazeland
79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Daniel Kinzler
5443d4dd16 allow xsd extension for type application/xml 2007-12-12 21:53:06 +00:00
Daniel Kinzler
d6c831b070 added mime type for FLV files 2007-02-28 17:18:22 +00:00
Ævar Arnfjörð Bjarmason
27105c2129 * (bug 898) Mime type autodetection. 2005-05-21 07:46:17 +00:00