MediaWiki REL1_39
Wikimedia\Mime\MimeMapMinimal Class Reference

MimeMapMinimal defines a core set of MIME types that cannot be overridden by configuration. More...

Public Attributes

const MEDIA_TYPES
 
const MIME_EXTENSIONS
 
const MIME_TYPE_ALIASES
 

Detailed Description

MimeMapMinimal defines a core set of MIME types that cannot be overridden by configuration.

This class exists for backward compatibility ONLY. New MIME types should be added to MimeMap instead.

Access: internal

Definition at line 32 of file MimeMapMinimal.php.

Member Data Documentation

◆ MEDIA_TYPES

const Wikimedia\Mime\MimeMapMinimal::MEDIA_TYPES

Definition at line 79 of file MimeMapMinimal.php.

◆ MIME_EXTENSIONS

const Wikimedia\Mime\MimeMapMinimal::MIME_EXTENSIONS

Definition at line 33 of file MimeMapMinimal.php.

◆ MIME_TYPE_ALIASES

const Wikimedia\Mime\MimeMapMinimal::MIME_TYPE_ALIASES
Initial value:
= [
'text/javascript' => 'application/javascript',
'application/x-javascript' => 'application/javascript',
'audio/mpeg' => 'audio/mp3',
'audio/ogg' => 'application/ogg',
'video/ogg' => 'application/ogg',
'image/x-ms-bmp' => 'image/x-bmp',
'image/bmp' => 'image/x-bmp',
'application/octet-stream' => 'unknown/unknown',
'application/x-empty' => 'unknown/unknown',
]

Definition at line 148 of file MimeMapMinimal.php.


The documentation for this class was generated from the following file: