This page is a translated version of the page Manual:$wgMimeInfoFile and the translation is 45% complete.
MIME-Typen: $wgMimeInfoFile
Sets the MIME type info file to be used by MimeAnalyzer.php .
Eingeführt in Version:1.5.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(path relative to $IP )
Standardwert:'internal' (1.35+)
'includes/mime.info' (1.5-1.34)


Sets the MIME type info file, which assigns each MIME type to one of several general categories. Die verfügbaren Kategorien sind wie gefolgt:

UNKNOWN unbekanntes Format
BITMAP some bitmap image or image source (like PSD, etc). Can't scale up.
DRAWING some vector drawing (SVG, WMF, PS, ...) or image source (oo-draw, etc). Can scale up.
AUDIO einfache Audiodatei (ogg, mp3, wav, midi, was auch immer)
VIDEO simple video file (ogg, mpg, etc; do not include formats here that may contain executable sections or scripts!)
MULTIMEDIA Scriptable Multimedia (flash, advanced video container formats, etc)
OFFICE Office Documents, Spreadsheets (office formats possibly containing macros, scripts, etc)
TEXT plain text (possibly containing program code or scripts)
EXECUTABLE Binäre ausführbare Datei
ARCHIVE Archivdatei (zip, tar, usw)

A default mime.info file is distributed with MediaWiki.


$wgMimeInfoFile = "/usr/doc/mime.info";
$wgMimeInfoFile = null;   // use a limited set of built-in defaults only (defined in {{git file|project=mediawiki/core|branch=master|file=includes/libs/mime/MimeAnalyzer.php|line=137|text=MimeAnalyzer.php}})

Siehe auch