jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] Assign bot to ListAlternativesOption class ......................................................................
[bugfix] Assign bot to ListAlternativesOption class
- remove obsolete comma
Bug: T104952 Change-Id: I5bfb4de682d7f592fd50be51ab231e471256eb5a --- M scripts/solve_disambiguation.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py index 4ac3b0d..0e108c5 100755 --- a/scripts/solve_disambiguation.py +++ b/scripts/solve_disambiguation.py @@ -737,7 +737,7 @@ len(self.dn_template_str) + 8]): continue
- edit = EditOption('edit page', 'e', text, m.start(), disambPage.title()), + edit = EditOption('edit page', 'e', text, m.start(), disambPage.title()) context_option = HighlightContextOption( 'more context', 'm', text, 60, start=m.start(), end=m.end()) context_option.before_question = True @@ -756,8 +756,8 @@ if not edited: options += [ShowPageOption('show disambiguation page', 'd', m.start(), disambPage)] - options += [ListAlternativesOption('list', 'l'), - AddAlternativeOption('add new', 'a')] + options += [ListAlternativesOption('list', 'l', self), + AddAlternativeOption('add new', 'a', self)] if edited: options += [StandardOption('save in this form', 'x')]
pywikibot-commits@lists.wikimedia.org