jenkins-bot has submitted this change and it was merged. Change subject: [bugfix] Fix UnicodeEncodeError ......................................................................
[bugfix] Fix UnicodeEncodeError Bug: T89232 Change-Id: Ia93d717c3892d12f41d4580028b26bddc61036e1 --- M pywikibot/page.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: John Vandenberg: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/page.py b/pywikibot/page.py index ea260c7..3d357b8 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -1959,7 +1959,7 @@ target_link = target_page.title(asLink=True, textlink=True, allowInterwiki=False) - target_link = '#{0} {1}'.format(self.site.redirect(), target_link) + target_link = u'#{0} {1}'.format(self.site.redirect(), target_link) self.text = prefix + target_link + suffix if kwargs: self.save(**kwargs) -- To view, visit https://gerrit.wikimedia.org/r/189929 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia93d717c3892d12f41d4580028b26bddc61036e1 Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Xqt <i...@gno.de> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits