XZise has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/220496

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/96/220496/1

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: newchange
Gerrit-Change-Id: I0a1a9cad0040406a9ecab6b2b7de640a65883662
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: XZise <commodorefabia...@gmx.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to