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':
pywikibot-commits@lists.wikimedia.org