媒体类型
媒体类型是MediaWiki特有的一种判断文件属于哪种媒介而非哪种格式的机制。 这种信息与MIME类型信息一同存放于image 表格。 目前该功能使用不多,但是未来这个功能可以用来决定以何种方式向用户呈现文件。
- 以下类型已被定义:
UNKNOWN
– 未知格式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
– 示例音频文件 (ogg, mp3, wav, midi, etc.)VIDEO
– 示例视频文件 (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
– 纯文本 (txt, etc.) - possibly containing program code or scriptsEXECUTABLE
– binary executable (exe, com, etc.)ARCHIVE
– 存档文件 (zip, tar, etc.)