Last modified: 2012-09-27 01:13:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28471 - Doctype for Internet Explorer 9.0 if HTML5 is enabled
Doctype for Internet Explorer 9.0 if HTML5 is enabled
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.16.x
PC Windows 7
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-09 16:30 UTC by Peter Flindt
Modified: 2012-09-27 01:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Flindt 2011-04-09 16:30:35 UTC
Hello,
when the variable $wgHtml5=true the doctype is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

regarding to W3C and http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx

it should be:
<!DOCTYPE html>

(and IMHO for IE9.0 <meta http-equiv="X-UA-Compatible" content="IE=9"> too, but I am not completly sure about this)
========
And there is a problem with this wgHTML5=true; too. If this value is "true" the edit input field have the font sans-serif.

Peter
Comment 1 Bawolff (Brian Wolff) 2011-04-09 23:26:16 UTC
I'm closing this works for me. <!DOCTYPE html> has been the default since (the as of yet unreleased, but almost out) 1.17
Comment 2 Peter Flindt 2011-04-10 08:21:18 UTC
ahh okay, thanks for this info.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links