dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
08e4a19
)
Fix minor issue from r112988
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 5 Mar 2012 16:38:55 +0000
(16:38 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 5 Mar 2012 16:38:55 +0000
(16:38 +0000)
maintenance/parse.php
patch
|
blob
|
history
diff --git
a/maintenance/parse.php
b/maintenance/parse.php
index
ec5aba1
..
876f28e
100644
(file)
--- 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 );