Rillke added a subscriber: Rillke.
Rillke added a comment.

Just hit this with `wbsetclaimvalue`; still confused of what WDB? expects me to 
feed-in.

IRC-log:
(11:41:59 PM): How would I use `wbsetclaimvalue` to set the datavalue property 
of the mainsnak of claim Q4115189$66001212-4f38-5752-744f-17ea89417127 to 
something different? API always returns "Invalid snak (Can only construct 
StringValue from strings)"
(11:43:10 PM): action: wbsetclaimvalue | claim: 
Q4115189$66001212-4f38-5752-744f-17ea89417127 | value: {"value":"\" onmouseover 
= \"alert('There is a security vulnerable. Please contact the next admin.')\" 
target=\".png","type":"string"}
(11:43:59 PM): snaktype: value | summary: test | token: 
<something_I_won't_post_here> | baserevid: 221430772
(11:44:33 PM): 
https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsetclaimvalue&format=json&claim=Q4115189%2466001212-4f38-5752-744f-17ea89417127&value={%22value%22%3A%22\%22%20onmouseover%20%3D%20\%22alert%28%27There%20is%20a%20security%20vulnerable.%20Please%20contact%20the%20next%20admin.%27%29\%22%20target%3D\%22.png%22%2C%22type%22%3A%22string%22}&snaktype=value&summary=test&token=FILLINTOKENHERE&baserevid=221430772


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

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

To: Rillke
Cc: Rillke, JanZerebecki, Addshore, Lydia_Pintscher, Lucie, Bene, Aklapper, 
Wikidata-bugs, aude



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to