Media type

The media type is specific to MediaWiki, and determines what kind of media is contained in the file, as opposed to what format the file is in.

This information is stored in the  table, along with the mime type.

It is currently not used for much, but could be used in the future to determine how to present a file to the user.


 * The following types are defined
 * – unknown format
 * – some bitmap image or image source (psd, etc.) - cannot scale up.
 * – some vector drawing (SVG, WMF, PS, etc.) or image source (oo-draw, etc) - can scale up.
 * – simple audio file (ogg, mp3, wav, midi, etc.)
 * – simple video file (ogg, mpg, etc.) - except formats that may contain executable sections or scripts.
 * – Scriptable Multimedia (flash, advanced video container formats, etc.)
 * – Office Documents (office formats, possibly containing scripts, etc.)
 * – Plain text (txt, etc.) - possibly containing program code or scripts
 * – binary executable (exe, com, etc.)
 * – archive file (zip, tar, etc.)