Page MenuHomePhabricator

Property support for claims
Closed, DuplicatePublic

Description

Wikibase Property pages can now support claims, but these are not supported by pywikibot, as claims are built in ItemPage , and not available in WikibasePage.

All of the claim related functionality needs to be moved into WikibasePage, and all the ItemPage tests also applied to PropertyPage.

Event Timeline

jayvdb raised the priority of this task from to High.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot-Wikidata.
jayvdb added subscribers: jayvdb, Ladsgroup.

Change 219244 had a related patch set uploaded (by John Vandenberg):
Add support for adding/removing statements in PropertyPage

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

And when WikibasePage does support editing Property claims, we may also need to smartly handle older Wikibase installations that do not have this new feature. It depends on how understandable the APIError is.