Drop support for XHTML 1.0
authorDaniel Friesen <daniel@nadir-seen-fire.com>
Fri, 10 May 2013 04:04:33 +0000 (21:04 -0700)
committerDaniel Friesen <daniel@nadir-seen-fire.com>
Thu, 16 May 2013 06:09:25 +0000 (23:09 -0700)
commit97caae596d5493ea2f3e4ba505204a7e278d0590
treecbff25a5b81375052d8eac5761bd1457bf661a5d
parentaf6d3572fa0e91248ab71e0af5fc619aacf125ae
Drop support for XHTML 1.0

* $wgHtml5 = false; is now ignored completely.
* $wgDocType and $wgDTD have been removed.
* $wgXhtmlDefaultNamespace is now ignored.
* XHTML5 will be output if $wgMimeType is set to an XML mime type (according to HTML5's rules).
* For backwards compatibility with extensions $wgHtml5 and $wgXhtmlDefaultNamespace are set
  in Setup.php but depending on them is deprecated.

Change-Id: Iad9634e2ee420b5a3bbffe550421fde4fa1819b0
21 files changed:
RELEASE-NOTES-1.22
includes/DefaultSettings.php
includes/GlobalFunctions.php
includes/Html.php
includes/OutputHandler.php
includes/OutputPage.php
includes/PHPVersionError.php
includes/Sanitizer.php
includes/Setup.php
includes/SkinTemplate.php
includes/User.php
includes/parser/Parser.php
includes/templates/NoLocalSettings.php
languages/messages/MessagesEn.php
maintenance/fuzz-tester.php
maintenance/renderDump.php
tests/phpunit/includes/HtmlTest.php
tests/phpunit/includes/SanitizerTest.php
tests/phpunit/includes/XmlSelectTest.php
tests/phpunit/includes/XmlTest.php
tests/phpunit/includes/parser/NewParserTest.php