Replace usage of deprecated Parser::tidy()
authorPlatonides <platonides@users.mediawiki.org>
Sat, 21 Aug 2010 21:52:47 +0000 (21:52 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 21 Aug 2010 21:52:47 +0000 (21:52 +0000)
maintenance/parserTests.inc

index 1ad1bea..4e9665e 100644 (file)
@@ -1094,7 +1094,7 @@ class ParserTest {
        private function tidy( $text ) {
                global $wgUseTidy;
                if ( $wgUseTidy ) {
-                       $text = Parser::tidy( $text );
+                       $text = MWTidy::tidy( $text );
                }
                return $text;
        }