Page MenuHomePhabricator

Implement Undo via API
Closed, ResolvedPublic

Description

As a tool developer, I want to use the API in order to undo a revision

Problem:
The current undo functionality isn't implemented with the API in mind. Also, the API functionality for undo is still available.

Acceptance criteria:

  • Undo via the API works

Details

Related Gerrit Patches:
mediawiki/extensions/WikibaseSchema : masterImplement Undo via API
mediawiki/extensions/WikibaseSchema : masterEnsure that id is consistent in undo
mediawiki/extensions/WikibaseSchema : masterExtract a class to generate the content json
mediawiki/extensions/WikibaseSchema : masterExtract undo functionality into a handler

Event Timeline

Michael created this task.Feb 27 2019, 3:53 PM
Restricted Application added a project: User-Michael. · View Herald TranscriptFeb 27 2019, 3:53 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Michael moved this task from 🗃️ Incoming to ⏳ In progress on the User-Michael board.

Change 493255 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/WikibaseSchema@master] Extract undo functionality into a handler

https://gerrit.wikimedia.org/r/493255

Change 493256 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/WikibaseSchema@master] Extract a writer method to generate the content json

https://gerrit.wikimedia.org/r/493256

Change 493257 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/WikibaseSchema@master] Implement Undo via API

https://gerrit.wikimedia.org/r/493257

Change 493255 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Extract undo functionality into a handler

https://gerrit.wikimedia.org/r/493255

Change 493256 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Extract a class to generate the content json

https://gerrit.wikimedia.org/r/493256

Change 494470 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/WikibaseSchema@master] Ensure that id is consistent in undo

https://gerrit.wikimedia.org/r/494470

Change 494470 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Ensure that id is consistent in undo

https://gerrit.wikimedia.org/r/494470

Change 493257 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Implement Undo via API

https://gerrit.wikimedia.org/r/493257

Lydia_Pintscher closed this task as Resolved.Mar 9 2019, 6:57 PM
Lydia_Pintscher moved this task from Verification to Done on the Shape Expressions Sprint 3 board.