From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- maintenance/preprocessorFuzzTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'maintenance/preprocessorFuzzTest.php') diff --git a/maintenance/preprocessorFuzzTest.php b/maintenance/preprocessorFuzzTest.php index 34960e01..c271b117 100644 --- a/maintenance/preprocessorFuzzTest.php +++ b/maintenance/preprocessorFuzzTest.php @@ -4,7 +4,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ). '/../maintenance/commandLine.inc' ); +require_once( dirname(__FILE__) . '/commandLine.inc' ); $wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook'; @@ -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; } -- cgit v1.2.2