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 <[email protected] mailto:[email protected] > 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 > [email protected] mailto:[email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikibot >
_______________________________________________ pywikibot mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot
