Fix minor issue from r112988
authorSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 16:38:55 +0000 (16:38 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 16:38:55 +0000 (16:38 +0000)
maintenance/parse.php

index ec5aba1..876f28e 100644 (file)
@@ -66,7 +66,7 @@ class CLIParser extends Maintenance {
                $input_file = $this->getArg( 0, $php_stdin );
 
                if( $input_file === $php_stdin ) {
-                       fwrite( STDERR, basename(__FILE__) .": warning: reading wikitext from STDIN\n" );
+                       $this->error( basename(__FILE__) .": warning: reading wikitext from STDIN\n" );
                }
 
                return file_get_contents( $input_file );