Page MenuHomePhabricator

Add mechanism for removing a qualifier
Closed, ResolvedPublic

Description

We have methods for removing sources but no equivalent for removing qualifiers. As a result one currently has to delete the whole claim in order to get rid of a qualifier.

For background (and use/test case of the patch) see https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_sum_of_all_paintings#Collection_.2F_applies_to_part

Event Timeline

Lokal_Profil claimed this task.
Lokal_Profil raised the priority of this task from to Needs Triage.
Lokal_Profil updated the task description. (Show Details)
Lokal_Profil added a project: Pywikibot.
Lokal_Profil moved this task to Backlog on the Pywikibot board.
Lokal_Profil subscribed.

Change 250749 had a related patch set uploaded (by Lokal Profil):
Add mechanism for removing qualifiers

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

If needed I could try my hand at adding a test for the method as well. Since I haven't done tests before though it is likely to require some coaching.

I've now added a test to this as well

Change 250749 merged by jenkins-bot:
Add mechanism for removing qualifiers

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