Author: coet.cawiki
Description:
I observed that Page(site, title).interwiki() doesn't work.
I think it is because DataPage().get()['link'] returns something like {"nowiki":{"name: "Title", "badges": []}}
and it was expected something like {"nowiki": "Title"}
Another bug i observed is that wikidata gives also the Commons link
I have modified the wikipedia.py line 4719
from "links[code]) for code in links]"
to "links[code]['name']) for code in links if "commons" not in code]"
and it works fine but I think that the condition 'if "commons" not in code' is not *always* a good solution.
Version: compat-(1.0)
Severity: major