Page MenuHomePhabricator

Make Pywikibot not crash on encountering an unknown WikiBase data type
Closed, ResolvedPublic

Description

Currently when a new data type gets introduced we have to scramble because Pywikibot crashes when it encounters an item using the new data type. In T165961 the new WbUnknown data type got introduced to store any data of unknown data type in. page.py should be expanded to actually use this and we need to add some tests to see that this actually works

Event Timeline

Change 364728 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[pywikibot/core@master] Use WbUnknown when encountering an unknown data type

https://gerrit.wikimedia.org/r/364728

Change 364728 merged by jenkins-bot:
[pywikibot/core@master] Use WbUnknown when encountering an unknown data type

https://gerrit.wikimedia.org/r/364728

Xqt claimed this task.
Xqt triaged this task as High priority.