CXuesong added a comment.

I see. Thanks for your explanation, Thiemo!

Actually I'm currently working on a Wikibase API client library. This library used to edit the entities via wbeditentity requests, and now I'm
trying to break down the edits so that more detailed edit summary would be left in the edit history.

I did met with an error when trying to create a new claim with wbsetclaim, setting claim parameter to the serialized claim content. At that time, I didn't provide any GUID for the claim, thinking Wikibase might automatically assign one for this new claim, just as what would be done if I feed wbeditentity with claims that doesn't have GUID. But then I found out there is no way I can specify the subject entity via a request parameter, nor did the Wikibase server accepted my request that neglected the GUID.

Actually I ended up with wbcreateclaim, wbsetqualifier and wbsetreference invocations. But later I might switch to assigning a new GUID locally before calling wbsetclaim.


TASK DETAIL
https://phabricator.wikimedia.org/T182573

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: CXuesong
Cc: thiemowmde, CXuesong, Aklapper, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, Zoranzoki21, NavinoEvans, Wikidata-bugs, aude, Dinoguy1000, TheDJ, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to