XZise has uploaded a new change for review.
https://gerrit.wikimedia.org/r/247039
Change subject: [IMPROV] login: Inform about unsupported -pass
......................................................................
[IMPROV] login: Inform about unsupported -pass
The `-pass` parameter is not supported yet so inform the user that defining one
is not actually using that password.
Bug: T102477
Change-Id: I072481cbeb3b089d796a739d2af348f9a26d2dca
---
M scripts/login.py
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/39/247039/1
diff --git a/scripts/login.py b/scripts/login.py
index a88dff3..f156817 100755
--- a/scripts/login.py
+++ b/scripts/login.py
@@ -148,6 +148,10 @@
pywikibot.bot.suggest_help(unknown_parameters=unknown_args)
return False
+ if password is not None:
+ pywikibot.warning('The -pass argument is not implemented yet. See: '
+ 'https://phabricator.wikimedia.org/T102477')
+
if logall:
if sysop and not oauth:
namedict = config.sysopnames
--
To view, visit https://gerrit.wikimedia.org/r/247039
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I072481cbeb3b089d796a739d2af348f9a26d2dca
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits