From: Reedy Date: Fri, 8 Jan 2016 22:38:18 +0000 (+0000) Subject: Fix last direct usage of UtfNormal in MW core X-Git-Tag: 1.31.0-rc.0~8392^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=4828a4d93b8aaa9c20573c8017c9aed863ecad47;p=lhc%2Fweb%2Fwiklou.git Fix last direct usage of UtfNormal in MW core Change-Id: I82789ab5ba628d974c77f026f0276cec1e22ad05 --- diff --git a/includes/Xml.php b/includes/Xml.php index 11f14dbb69..63301ac0d0 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -91,7 +91,7 @@ class Xml { public static function elementClean( $element, $attribs = array(), $contents = '' ) { global $wgContLang; if ( $attribs ) { - $attribs = array_map( array( 'UtfNormal', 'cleanUp' ), $attribs ); + $attribs = array_map( array( 'UtfNormal\Validator', 'cleanUp' ), $attribs ); } if ( $contents ) { $contents = $wgContLang->normalize( $contents );