diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
commit | 222b01f5169f1c7e69762e0e8904c24f78f71882 (patch) | |
tree | 8e932e12546bb991357ec48eb1638d1770be7a35 /maintenance/preprocessorFuzzTest.php | |
parent | 00ab76a6b686e98a914afc1975812d2b1aaa7016 (diff) |
update to MediaWiki 1.16.0
Diffstat (limited to 'maintenance/preprocessorFuzzTest.php')
-rw-r--r-- | maintenance/preprocessorFuzzTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |