Recognize webm and matroska files. See also Bug 23888
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Wed, 28 Jul 2010 19:24:00 +0000 (19:24 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Wed, 28 Jul 2010 19:24:00 +0000 (19:24 +0000)
commitbcd3dd1943bf8c837978469b6e91a40145e92c25
treeb2813f23c500e6deee3b10bddde83a2ef4b7601d
parent40df199e9e875aa0427dbed1abfa65c9ca56393a
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).
includes/MimeMagic.php
includes/mime.info
includes/mime.types