jenkins-bot has submitted this change and it was merged.
Change subject: Fixup for "Partial revert of r6605" ......................................................................
Fixup for "Partial revert of r6605"
The compat code was copied as is, but it contained syntax which core doesnt support.
Change-Id: I45b2d968ded226de8d95b4ca5a976e01d577c326 --- M pywikibot/interwiki_graph.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/interwiki_graph.py b/pywikibot/interwiki_graph.py index 14d5a4b..571d5c4 100644 --- a/pywikibot/interwiki_graph.py +++ b/pywikibot/interwiki_graph.py @@ -65,7 +65,7 @@ self.subject = subject
def getLabel(self, page): - return (u'"%s:%s"' % (page.site().language(), + return (u'"%s:%s"' % (page.site.language(), page.title())).encode('utf-8')
def addNode(self, page):
pywikibot-commits@lists.wikimedia.org