Jump to content

Manual:$wgXhtmlNamespaces

From mediawiki.org
This page is a translated version of the page Manual:$wgXhtmlNamespaces and the translation is 50% complete.
出力: $wgXhtmlNamespaces
Permit other XHTML namespaces in addition to the w3.org default.
導入されたバージョン:1.9.0 (r18943)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

詳細

Permit other namespaces in addition to the w3.org default.

Use the prefix for the key and the namespace for the value. 例:

$wgXhtmlNamespaces['svg'] = 'http://www.w3.org/2000/svg';

Normally we wouldn't have to define this in the root ‎<html> element, but IE needs it there in some circumstances.