Page MenuHomePhabricator

Make Wikibase entity related code more flexible (tracking)
Open, LowPublic


Wikibase is still under development and it's likely there will be new entity types supported in the future. Pywikibot makes many bad assumptions on entity types, mostly pywikibot.ItemPage is assumed. This can be also seen in method naming.

However, this isn't always a mistake. For example, the assumption that only items can hold sitelinks is correct.

Event Timeline

Change 525079 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[pywikibot/core@master] [FEAT] Refactor Wikibase entity namespace handling

Change 525079 merged by jenkins-bot:
[pywikibot/core@master] [FEAT] Refactor Wikibase entity namespace handling