Manual:$wgMediaHandlers

From MediaWiki.org

Jump to: navigation, search
Images: $wgMediaHandlers
Plugins for media file type handling.
Introduced in version: 1.10.0
Removed in version: still in use
Allowed Values: (see below)
Default Value: None

Other settings: Alphabetical | By Function


[edit] Details

Plugins for media file type handling. Each entry in the array maps a MIME type to a class name.

Default value :

$wgMediaHandlers = array(
    'image/jpeg' => 'BitmapHandler',
    'image/png' => 'BitmapHandler',
    'image/gif' => 'BitmapHandler',
    'image/x-ms-bmp' => 'BmpHandler',
    'image/svg+xml' => 'SvgHandler', // official
    'image/svg' => 'SvgHandler', // compat
    'image/vnd.djvu' => 'DjVuHandler', // official
    'image/x.djvu' => 'DjVuHandler', // compat
    'image/x-djvu' => 'DjVuHandler', // compat
);
Personal tools