Merge "Fix last direct usage of UtfNormal in MW core"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 9 Jan 2016 07:19:23 +0000 (07:19 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 9 Jan 2016 07:19:23 +0000 (07:19 +0000)
includes/Xml.php

index 11f14db..63301ac 100644 (file)
@@ -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 );