From: Aryeh Gregor Date: Sun, 12 Jul 2009 18:36:31 +0000 (+0000) Subject: Re-enable $wgHtml5 X-Git-Tag: 1.31.0-rc.0~40991 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=76c98e14d0779232eef291f08e6bf5c99e15d7a0;p=lhc%2Fweb%2Fwiklou.git Re-enable $wgHtml5 The rendering issue that prompted r53137 has been fixed in r53141. However, everyone should be on the lookout for browsers becoming slightly more standards-compliant when this is enabled, possibly breaking some things. Since there are no known issues, it should be safe to re-enable so it can get further testing. See this page for info on the effects of different doctypes: http://hsivonen.iki.fi/doctype/ --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index fc1f6935d4..abd4da5b4e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -875,11 +875,12 @@ $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'; $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml'; /** - * Should we output an HTML 5 doctype? This needs to be left off until some - * lingering rendering issues are resolved -- apparently it switches some - * browsers from "almost standards" mode to standards mode. + * Should we output an HTML 5 doctype? This mode is still experimental, but + * all indications are that it should be usable, so it's enabled by default. + * If all goes well, it will be removed and become always true before the 1.16 + * release. */ -$wgHtml5 = false; +$wgHtml5 = true; /** * Permit other namespaces in addition to the w3.org default.