Last modified: 2014-11-19 11:45:03 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 T75600, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73600 - Add parameters to wbcreateclaim and wbsetclaim API modules to prevent creating duplicate claims
Add parameters to wbcreateclaim and wbsetclaim API modules to prevent creatin...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-19 07:10 UTC by Ryan Kaldari
Modified: 2014-11-19 11:45 UTC (History)
3 users (show)

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


Attachments

Description Ryan Kaldari 2014-11-19 07:10:22 UTC
Right now there is no way to prevent creating a duplicate claim with the wbcreateclaim or wbsetclaim APIs other than to manually check if the claim already exists beforehand. There should be a parameter like 'unique=true" that only creates the claim if it doesn't already exist for the given item.

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


Navigation
Links