Bug 23642. Best effort mime detection for OpenXML files
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 19 Jun 2010 18:47:34 +0000 (18:47 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 19 Jun 2010 18:47:34 +0000 (18:47 +0000)
commit08c96166ee3dd9644b03c96fde8156b962792c7a
tree53e3d8393a7349247ad6839d449d85262614916b
parentbb3f79ab40264c4ae4a0b43113ecb9b2a98216bf
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.
RELEASE-NOTES
includes/DefaultSettings.php
includes/MimeMagic.php
includes/mime.info
includes/mime.types