Last modified: 2012-11-29 13:06:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39683, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37683 - Implement revert/undo for Wikibase Items (tracking)
Implement revert/undo for Wikibase Items (tracking)
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on: 37991 38178 38179 39428
Blocks: 37747 38822
  Show dependency treegraph
 
Reported: 2012-06-18 12:08 UTC by Daniel Kinzler
Modified: 2012-11-29 13:06 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2012-06-18 12:08:49 UTC
We need to specify and implement logic for reverting and and undoing edits.

There are three cases to consider:

* rollback (reset): reset the content to some earlier version. Traditionally, this is done by simply editing the older version, and saving it (typically without changing enything). For Wikibase, the rollback itself should be an edit, so subsequent edits are again atomic. However, to maintain the status quo of this being a two-click operation, there should be a confirmation page/dialog shown.

* undo: undo the effect of some earlier edit, without undoing later edits (reverse patch). The workflow for this is simple enough, but ItemHandler::merge3() needs to be implemented for this to work. 

* revert (admin only): rollback all revisions by the same user, starting at the current position. This is probably trivial, since it should work exactly like it works for text. Needs testing though.
Comment 1 Daniel Kinzler 2012-06-27 17:45:19 UTC
revert is a special case of reset, see bug 37991
Comment 2 denny vrandecic 2012-06-28 10:29:20 UTC
Revert needs to be tested. Reset has its own bug, #37991 m and undo needs to be implemented.
Comment 3 denny vrandecic 2012-06-28 10:32:20 UTC
Two new bugs: implement undo (13), test revert (3), and the reset #37991

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links