From 2c68833bfe21b31aee626232dac122cc085ad285 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 5 Mar 2012 16:38:55 +0000 Subject: [PATCH] Fix minor issue from r112988 --- maintenance/parse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/parse.php b/maintenance/parse.php index ec5aba14fb..876f28e940 100644 --- a/maintenance/parse.php +++ b/maintenance/parse.php @@ -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 ); -- 2.20.1