Fix for bug 9413 and the related Malayalam issue reported on wikitech-l.
[lhc/web/wiklou.git] / maintenance / preprocessorFuzzTest.php
index 008a4b4..c271b11 100644 (file)
@@ -102,7 +102,8 @@ class PPFuzzTester {
                // This resolves a few differences between the old preprocessor and the 
                // XML-based one, which doesn't like illegals and converts line endings.
                // It's done by the MW UI, so it's a reasonably legitimate thing to do.
-               $s = UtfNormal::cleanUp( $s );
+               global $wgContLang;
+               $s = $wgContLang->normalize( $s );
                return $s;
        }