Kézikönyv:$wgXMLMimeTypes

This page is a translated version of the page Manual:$wgXMLMimeTypes and the translation is 70% complete.
MIME types: $wgXMLMimeTypes
An array of XML MIME types we can detect via MimeMagic
Bevezetve:1.13.0 (r36960)
Eltávolítva:használatban
Megengedett értékek:(tömb)
Alapértelmezett érték:(lásd alább)

Részletek

Ez a beállítás lehetővé teszi a felhasználóknak a MimeMagickel észlelni kívánt XML-alapú formátumok meghatározását. 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.

Alapértelmezett érték

MediaWiki-verzió:
1.13
$wgXMLMimeTypes = [
	'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
	'svg' => 'image/svg+xml',
	'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
	'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
	'html' => 'text/html', // application/xhtml+xml?
];

Lásd még