Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil
MIME types: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeMagic.phpManual:MimeMagic.php.
Introduced in version: 1.5.0
Removed in version: still in use
Allowed values: path relative to $IPManual:$IP
Default value: "includes/mime.types"
Other settings: Alphabetical | By function


Sets the MIME type definition file, which maps MIME types to file extensions.

A default mime.types file is distributed with MediaWiki.


$wgMimeTypeFile = "/etc/mime.types";
$wgMimeTypeFile = null; // use a limited set of built-in defaults only (defined in MimeMagic.php)

See also[edit]