jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] selflink: Correctly call input_choice
......................................................................
[FIX] selflink: Correctly call input_choice
The input_choice call in selflink is incorrect as it doesn't provide a shortcut
for 'unlink all' which was introduced in bc9dd662.
Change-Id: I0a1a9cad0040406a9ecab6b2b7de640a65883662
---
M scripts/selflink.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/selflink.py b/scripts/selflink.py
index b577d9f..3e5925a 100755
--- a/scripts/selflink.py
+++ b/scripts/selflink.py
@@ -99,7 +99,7 @@
choice = pywikibot.input_choice(
u'\nWhat shall be done with this selflink?\n',
[('unlink', 'u'), ('make bold', 'b'), ('skip', 's'),
- ('edit', 'e'), ('more context', 'm'), ('unlink all')], 'u')
+ ('edit', 'e'), ('more context', 'm'), ('unlink all', 'a')],
'u')
pywikibot.output(u'')
if choice == 's':
--
To view, visit https://gerrit.wikimedia.org/r/220496
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0a1a9cad0040406a9ecab6b2b7de640a65883662
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: XZise <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits