Remove $wgAllowMicroDataAttributes and $wgAllowRdfaAttributes
authorSébastien Santoro <dereckson@espace-win.org>
Tue, 15 Mar 2016 18:23:10 +0000 (18:23 +0000)
committerSébastien Santoro <dereckson@espace-win.org>
Fri, 18 Mar 2016 17:24:56 +0000 (17:24 +0000)
commite789f51f1183d57999926b80c726338d8611e2f1
tree2bd1fdb4d1bee89059966a9f7730b7c06b439759
parent61a8e4cf735bd959ae0ee711e9b4b1d2e5079dc4
Remove $wgAllowMicroDataAttributes and $wgAllowRdfaAttributes

$wgAllowMicroDataAttributes and $wgAllowRdfaAttributes have been
introduced in MediaWiki 1.16 and required at this moment $wgHTML5
to be true. This last setting has been removed in MediaWiki 1.22.

To simplify the code maintenance and the configuration complexity,
those settings are removed and the features are always available.

RDFa users must now explicitly set $wgHtml5Version to a RDFa
version. Currently the correct values are:

  - HTML+RDFa 1.0
  - XHTML+RDFa 1.0

Bug: T130040
Change-Id: I17a7bff2cad170e381eabf0aec4e26e4fd0cddc3
RELEASE-NOTES-1.27
includes/DefaultSettings.php
includes/Sanitizer.php
includes/Setup.php
tests/parser/parserTest.inc
tests/parser/parserTests.txt
tests/phpunit/includes/parser/NewParserTest.php