jenkins-bot has submitted this change and it was merged.
Change subject: Set the argument required flag for relevant options
......................................................................
Set the argument required flag for relevant options
Change-Id: I841fa37487a945da0b13994a556c2a6d4b013604
---
M maintenance/convertLqt.php
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
EBernhardson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/convertLqt.php b/maintenance/convertLqt.php
index ec94407..99df380 100644
--- a/maintenance/convertLqt.php
+++ b/maintenance/convertLqt.php
@@ -16,11 +16,11 @@
parent::__construct();
$this->mDescription = "Converts LiquidThreads data to Flow
data";
$this->addArg( 'dstpage', 'Page name of the local page to
import to', true );
- $this->addOption( 'srcpage', 'Page name of the remote page to
import from. If not specified defaults to dstpage', true );
- $this->addOption( 'remoteapi', 'Remote API URL to read from' );
+ $this->addOption( 'srcpage', 'Page name of the remote page to
import from. If not specified defaults to dstpage', false, true );
+ $this->addOption( 'remoteapi', 'Remote API URL to read from',
false, true );
$this->addOption( 'logfile', 'File to read and store
associations between imported items and their sources', false, true );
$this->addOption( 'verbose', 'Report on import progress to
stdout' );
- $this->addOption( 'allowunknownusernames', 'Allow import of
usernames that do not exist on this wiki. DO NOT USE IN PRODUCTION. This
simplifies testing imports of production data to a test wiki' );
+ $this->addOption( 'allowunknownusernames', 'Allow import of
usernames that do not exist on this wiki. DO NOT USE IN PRODUCTION. This
simplifies testing imports of production data to a test wiki', false, true );
}
public function execute() {
--
To view, visit https://gerrit.wikimedia.org/r/173931
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I841fa37487a945da0b13994a556c2a6d4b013604
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits