This page is a translated version of the page Manual:$wgXMLMimeTypes and the translation is 40% complete.
MIME types: $wgXMLMimeTypes
An array of XML MIME types we can detect via MimeMagic
Introducido en la versión:1.13.0 (r36960)
Eliminado en la versión:aún se usa
Valores permitidos:(array)
Valor predeterminado:(véase más abajo)


This setting allows users to specify what XML-based formats they wish to detect via MimeMagic. It maps the root element used by the XML-based format to the MIME type used for that format.

In this associative array, the key is the root element of the XML document (or xmlns-URI:root-element), and the value is the associated MIME type.

Default value

Versión de MediaWiki:
$wgXMLMimeTypes = [
	'' => 'image/svg+xml',
	'svg' => 'image/svg+xml',
	'' => 'application/x-dia-diagram',
	'' => 'text/html', // application/xhtml+xml?
	'html' => 'text/html', // application/xhtml+xml?

Véase también