Last modified: 2014-03-04 16:47:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58072, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56072 - no pywikibot method corresponding to 'action=wbremovereferences' in wikidata api
no pywikibot method corresponding to 'action=wbremovereferences' in wikidata api
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
core-(2.0)
All All
: Low enhancement
: ---
Assigned To: Pywikipedia bugs
gci2013 https://www.mediawiki.org/wik...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-23 23:40 UTC by Max Klein
Modified: 2014-03-04 16:47 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Max Klein 2013-10-23 23:40:34 UTC
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.
Comment 1 Ricordisamoa 2014-03-04 16:47:41 UTC
[[gerrit:96940]] introduced "DataSite.removeSources". "Claim.removeSource" and "Claim.removeSources" are relying on it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links