support for HTML5/Microdata elements
authorDaniel Friesen <pub-github@nadir-seen-fire.com>
Wed, 4 Apr 2012 06:54:39 +0000 (23:54 -0700)
committerAntoine Musso <hashar@free.fr>
Mon, 19 Nov 2012 08:00:50 +0000 (09:00 +0100)
commite185d4a2a457a5780566d10aa361a8873edf3e8b
tree99659a106c1ec48c397dcb8c263449a2223dc94f
parentfbbbf5062d5399c2994a4010bc3506fd1d35f7c8
support for HTML5/Microdata elements

Patch let us handle the <data>, <time>, <meta>, and <link> elements.

* handles one part of bug 32545 requesting us to support the <time>
  element in WikiText.
* Partially fix bug 28776 about whitelisting global HTML5 semantic
  attributes and inline meta element.
* <meta> and <link> are only permitted when Microdata is enabled using
* the global $wgAllowMicrodataAttributes. For for security reason, the
  links are only allowed to be actual elements when they have a
  strict set of attributes set.

Change-Id: Ica11be186bd62eb154e1ebc400acb515c10fb65f
RELEASE-NOTES-1.21
includes/Sanitizer.php
includes/parser/Tidy.php
includes/tidy.conf
tests/parser/parserTests.txt