Arlolra has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/226017

Change subject: Suppress stdin warning with --quiet
......................................................................

Suppress stdin warning with --quiet

Change-Id: I789260be1c83e0f081e6b7cd84cdab291d07837e
---
M maintenance/parse.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/17/226017/1

diff --git a/maintenance/parse.php b/maintenance/parse.php
index 7b05cb7..fac61c1 100644
--- a/maintenance/parse.php
+++ b/maintenance/parse.php
@@ -95,8 +95,8 @@
 
                if ( $input_file === $php_stdin ) {
                        $ctrl = wfIsWindows() ? 'CTRL+Z' : 'CTRL+D';
-                       $this->error( basename( __FILE__ )
-                               . ": warning: reading wikitext from STDIN. 
Press $ctrl to parse.\n" );
+                       $this->output( basename( __FILE__ )
+                               . ": warning: reading wikitext from STDIN. 
Press $ctrl to parse.\n\n" );
                }
 
                return file_get_contents( $input_file );

-- 
To view, visit https://gerrit.wikimedia.org/r/226017
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I789260be1c83e0f081e6b7cd84cdab291d07837e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to