Manual:$wgDocType

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎polski • ‎русский • ‎日本語
Output: $wgDocType
The doc type to use in the <!DOCTYPE> declaration.
Introduced in version:pre 1.1.0
Removed in version:1.22.0 (Gerrit change 63106; git #97caae59)
Allowed values:string
Default value:'-//W3C//DTD XHTML 1.0 Transitional//EN'
'-//W3C//DTD HTML 4.01 Transitional//EN' before v1.3.0
Other settings: Alphabetical | By function

Details[edit]

The doc type to use in the <!DOCTYPE> declaration.

This may not be taken into consideration if $wgHtml5 is set to true.