jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/336229 )
Change subject: [DOC] Doc string for -always option
......................................................................
[DOC] Doc string for -always option
- There is an inverse logic for the -always option:
Don't ask for confirmation when putting a page
when option is set but ask by default.
Change-Id: I524f7c5142844dd8794abe6228f3a12986f25510
---
M pywikibot/bot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Dalba: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 82f24ef..4a5bd3e 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -1150,7 +1150,7 @@
# The values are the default values
# Extend this in subclasses!
availableOptions = {
- 'always': False, # ask for confirmation when putting a page?
+ 'always': False, # By default ask for confirmation when putting a page
}
_current_page = None
--
To view, visit
https://gerrit.wikimedia.org/r/336229
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I524f7c5142844dd8794abe6228f3a12986f25510
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>