jenkins-bot has submitted this change and it was merged.
Change subject: solve_disambiguation.py: EditOption._start is an int, do not call it ......................................................................
solve_disambiguation.py: EditOption._start is an int, do not call it
Bug: T126095 Change-Id: I3aa191d2fbe6c402f038d545d698b65356e9c888 --- M scripts/solve_disambiguation.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py index 2d92b05..5a87738 100755 --- a/scripts/solve_disambiguation.py +++ b/scripts/solve_disambiguation.py @@ -487,7 +487,7 @@ def result(self, value): """Open a text editor and let the user change it.""" editor = editarticle.TextEditor() - self.new_text = editor.edit(self._text, jumpIndex=self._start(), + self.new_text = editor.edit(self._text, jumpIndex=self._start, highlight=self._title) return super(EditOption, self).result(value)
pywikibot-commits@lists.wikimedia.org