jenkins-bot has submitted this change and it was merged.
Change subject: textlib.py: remove deprecated param in getLanguageLinks() ......................................................................
textlib.py: remove deprecated param in getLanguageLinks()
Remove insite param in call to pywikibot.Page().
Change-Id: Ib781d09fcc8fb19cc666466f0ac5fbf02508f90a --- M pywikibot/textlib.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index bda3503..5c13101 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -773,7 +773,7 @@ # we want the actual page objects rather than the titles site = pywikibot.Site(code=lang, fam=fam) try: - result[site] = pywikibot.Page(site, pagetitle, insite=insite) + result[site] = pywikibot.Page(site, pagetitle) except pywikibot.InvalidTitle: pywikibot.output(u'[getLanguageLinks] Text contains invalid ' u'interwiki link [[%s:%s]].'
pywikibot-commits@lists.wikimedia.org