Last modified: 2014-03-12 10:36:44 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 T57834, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55834 - api wbeditentity only accepts references and qualifiers grouped by property value
api wbeditentity only accepts references and qualifiers grouped by property v...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
: need-volunteer
Depends on: 55795
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-17 09:32 UTC by Addshore
Modified: 2014-03-12 10:36 UTC (History)
4 users (show)

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


Attachments

Description Addshore 2013-10-17 09:32:56 UTC
https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#New_API_wbeditentity:_Help

           "references": [
               {
                   "snaks": [
                       {
                           "snaktype": "value",
                           "property": "P17",
                           "datavalue": {
                               "value": {
                                   "entity-type": "item",
                                   "numeric-id": 144
                               },
                               "type": "wikibase-entityid"
                           }
                       }
                   ]
               }
           ]
will not work
        "references":[
           {
              "snaks":{
                 "P56":[
                    {
                       "snaktype":"value",
                       "property":"P56",
                       "datavalue":{
                          "value":"src",
                          "type":"string"
                       }
                    }
                 ]
              }
           }
        ]
will work

Both of the above should probably work for both references and qualifiers

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


Navigation
Links