Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/386316 )

Change subject: Make runJobs.php treat --json value as case insensitive
......................................................................

Make runJobs.php treat --json value as case insensitive

The docs mentioned "JSON", which did not actually work.

Change-Id: Ie9802551d05f7d80d1db0fd316e36f4b35bbc521
---
M maintenance/runJobs.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/16/386316/1

diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php
index 929b5c9..f53b2ef 100644
--- a/maintenance/runJobs.php
+++ b/maintenance/runJobs.php
@@ -68,7 +68,7 @@
                        }
                }
 
-               $outputJSON = ( $this->getOption( 'result' ) === 'json' );
+               $outputJSON = ( strlower( $this->getOption( 'result' ) ) === 
'json' );
                $wait = $this->hasOption( 'wait' );
 
                $runner = new JobRunner( LoggerFactory::getInstance( 'runJobs' 
) );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9802551d05f7d80d1db0fd316e36f4b35bbc521
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to