Page MenuHomePhabricator

no pywikibot method corresponding to 'action=wbremovereferences' in wikidata api
Closed, ResolvedPublic

Description

While we have removeClaims as a function for ItemPages, there is no removeSources to remove a source that belongs to a claim.

It would be needed to create a function for item pages, and for the underlying site.py function removeSources to be created to call the api with
https://www.wikidata.org/w/api.php - action=wbremovereferences as the action.


Version: core-(2.0)
Severity: enhancement
Whiteboard: gci2013 https://www.mediawiki.org/wiki/Google_Code-In#Candidate_tasks

Details

Reference
bz56072

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:28 AM
bzimport set Reference to bz56072.
bzimport added a subscriber: Unknown Object (????).

[[gerrit:96940]] introduced "DataSite.removeSources". "Claim.removeSource" and "Claim.removeSources" are relying on it.