Last modified: 2013-10-09 14:14:59 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 T48709, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46709 - Enable claim in data for wbeditentity
Enable claim in data for wbeditentity
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Addshore
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-29 23:53 UTC by swuensch
Modified: 2013-10-09 14:14 UTC (History)
6 users (show)

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


Attachments

Description swuensch 2013-03-29 23:53:43 UTC
Currently there is no possibility to submit claims via the api with the module wbeditentity. If I add the claim like sitelinks etc. I get the error: "unknown key: claims".
Comment 1 Addshore 2013-07-03 14:37:02 UTC
Confirmed:{"error": {"code": "not-recognized","info": "unknown key: claims"}}

This should probably be included within wbeditentity (although there are other ways to interact with the claims.
Comment 2 Umherirrender 2013-09-01 17:50:55 UTC
There is one problem on entity creation. The guid of a claim contains the entity number. When the entity is created, the new number is not known.
That means, claims cannot be given on creation. Or it is possible to get the new number before save? Should wbeditentity changed in that way?
Comment 3 Addshore 2013-09-02 14:57:58 UTC
Related to https://gerrit.wikimedia.org/r/81671 which adds the ability to edit claims using editentity
Comment 4 Umherirrender 2013-09-20 15:48:31 UTC
successfully merged and it works on item creation

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


Navigation
Links