From: Aryeh Gregor Date: Thu, 12 Nov 2009 03:11:56 +0000 (+0000) Subject: Upper-case DOCTYPE in HTML5 for well-formedness X-Git-Tag: 1.31.0-rc.0~38847 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=b70cc5b742f12256860cc61f1427da8804b7acbe;p=lhc%2Fweb%2Fwiklou.git Upper-case DOCTYPE in HTML5 for well-formedness Apparently is a syntax error in XML; is required. Now I know. This broke Twinkle and probably lots of other stuff, so it would be good to sync this ASAP. Sorry for the error. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4896cd0fe6..47e785d7ca 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1791,7 +1791,7 @@ class OutputPage { $dir = $wgContLang->getDir(); if ( $wgHtml5 ) { - $ret .= "\n"; + $ret .= "\n"; $ret .= "\n"; } else { $ret .= "\n";