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: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
Objections: XZise: There's a problem with this change, please improve
diff --git a/scripts/selflink.py b/scripts/selflink.py index 961f696..f8de1b2 100755 --- a/scripts/selflink.py +++ b/scripts/selflink.py @@ -100,7 +100,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':