Page MenuHomePhabricator

[Story] Call WikibaseLexeme API with baserevid parameter from the UI
Closed, ResolvedPublic5 Estimated Story Points

Description

Once T217243 is solved we will be able to pass a baserevid to the API when making edits from the lexeme UI.
This is needed to help detect edit conflicts.

Acceptance criteria:

  • All editing calls to the API from the UI pass a baserevid to the API based on the revision of the entity loaded on the page.

When the API request fails due to baserevid issue
Then user is presented with a warning that they need to refresh for an up-to-date version

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Addshore triaged this task as Medium priority.Feb 27 2019, 2:34 PM
Addshore moved this task from Incoming to Ready to estimate on the Wikidata-Campsite board.
alaa_wmde renamed this task from Call WikibaseLexeme API with baserevid parameter from the UI to [Story] Call WikibaseLexeme API with baserevid parameter from the UI.Apr 4 2019, 8:52 AM
alaa_wmde added a subscriber: alaa_wmde.

Works as expected in the scenario of self-conflict and of real conflict!