From 4828a4d93b8aaa9c20573c8017c9aed863ecad47 Mon Sep 17 00:00:00 2001 From: Reedy Date: Fri, 8 Jan 2016 22:38:18 +0000 Subject: [PATCH] Fix last direct usage of UtfNormal in MW core Change-Id: I82789ab5ba628d974c77f026f0276cec1e22ad05 --- includes/Xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1