Page MenuHomePhabricator

API: Support editing statements on senses via wbeditentity
Open, NormalPublic

Description

As an API user I want to be able to edit statements on Sensess through wbeditentity in order to quickly add/modify/remove data.

Problem:
Currently editing of statements on Senses is not supported via wbeditentity.

Example:
TBA

BDD

GIVEN I make a wbeditentity API request with the "claims" key set within a sense's JSON
WHEN  I submit the request
THEN  the sense's statements are modified accordingly

Acceptance criteria:

  • statements are saved persistently
  • edit summary shows up in recent changes/Lexeme history/watchlist
  • statements contain a GUID that is correctly prefixed with the sense id they describe (see)

Event Timeline

Might possibly be considered a duplicate of T196298.

WMDE-leszek renamed this task from Support editing senses via wbeditentity to Support editing statements on senses via wbeditentity.Aug 21 2018, 11:30 AM
WMDE-leszek updated the task description. (Show Details)
Lydia_Pintscher renamed this task from Support editing statements on senses via wbeditentity to API: Support editing statements on senses via wbeditentity.Sep 2 2018, 4:04 PM
Pablo-WMDE updated the task description. (Show Details)Sep 13 2018, 8:09 AM
Pablo-WMDE updated the task description. (Show Details)Sep 13 2018, 8:13 AM

@Addshore @Lucas_Werkmeister_WMDE: the ticket Leszek mentioned as a possible duplicate is closed. Where are we with this?

Addshore added a comment.EditedJan 4 2019, 11:50 AM

This still does not work (just checked on testwikidata).

I checked and confirmed this with id=lexeme and trying to update a statement in a sense on the lexeme
I also checked this with id=sense trying to update a statement in the sense json.

I expect the individual cases as described in T196298 are all covered however.