From: Aryeh Gregor Date: Sun, 28 Mar 2010 01:37:49 +0000 (+0000) Subject: Remove a use of xml:lang that I missed in r62312 X-Git-Tag: 1.31.0-rc.0~37329 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=7bd8309d1ae9d440aa829106e1d337c40dc458f6;p=lhc%2Fweb%2Fwiklou.git Remove a use of xml:lang that I missed in r62312 If this is required for some reason for RDFa, it should be allowed only when RDFa is enabled, like xmlns:. --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index fd51b92fcc..45b2cf6c13 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -1253,7 +1253,7 @@ class Sanitizer { static function setupAttributeWhitelist() { global $wgAllowRdfaAttributes, $wgHtml5, $wgAllowMicrodataAttributes; - $common = array( 'id', 'class', 'lang', 'dir', 'title', 'style', 'xml:lang' ); + $common = array( 'id', 'class', 'lang', 'dir', 'title', 'style' ); if ( $wgAllowRdfaAttributes ) { #RDFa attributes as specified in section 9 of http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014