One posioility is to extract interwiki links from a Page.text by using textlib.getLanguageLinks(); interwikidata.py uses that method. The other way is using Page.langlinks(), Page.iterlanglinks() or Site.pagelanglinks() which uses the API and they should still work.
Best
xqt
masti <mastigm@gmail.com> hat am 22. Juli 2019 um 10:55 geschrieben:
It used to be a getInterwiki method before Wikidata era.
What is the easiest way to get them instead of parsing sitelinks list of
WD object?
masti
_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot