Manual:$wgXMLMimeTypes/ko
Appearance
| MIME types: $wgXMLMimeTypes | |
|---|---|
| An array of XML MIME types we can detect via MimeMagic |
|
| 이 변수가 소개된 버전: | 1.13.0 (r36960) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array) |
| 기본값: | (see below) |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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.
기본값
| 미디어위키 버전: | ≥ 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?
];