From 7bd8309d1ae9d440aa829106e1d337c40dc458f6 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 28 Mar 2010 01:37:49 +0000 Subject: [PATCH] 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:. --- includes/Sanitizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1