Media type/zh

媒体类型是MediaWiki特有的一种判断文件属于哪种媒介而非哪种格式的机制. 这种信息与MIME类型信息一同存放于表格. 目前该功能使用不多，但是未来这个功能可以用来决定以何种方式向用户呈现文件. 以下类型已被定义：

UNKNOWN   // unknown format BITMAP    // some bitmap image or image source (psd, etc.) - cannot scale up. DRAWING   // some vector drawing (SVG, WMF, PS, etc.) or image source (oo-draw, etc) - can scale up. AUDIO     // simple audio file (ogg, mp3, wav, midi, etc.) VIDEO     // simple video file (ogg, mpg, etc.) - except formats that may contain executable sections or scripts. MULTIMEDIA // Scriptable Multimedia (flash, advanced video container formats, etc.) OFFICE    // Office Documents (office formats, possibly containing scripts, etc.) TEXT      // Plain text (txt, etc.) - possibly containing program code or scripts EXECUTABLE // binary executable (exe, com, etc.) ARCHIVE   // archive file (zip, tar, etc.)

参见

 * MIME类型检测