https://bugzilla.wikimedia.org/show_bug.cgi?id=55834
Web browser: ---
Bug ID: 55834
Summary: api wbeditentity only accepts references and
qualifiers grouped by property calue
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l