https://bugzilla.wikimedia.org/show_bug.cgi?id=37683
Web browser: ---
Bug #: 37683
Summary: Implement revert/undo for Wikibase Items
Product: MediaWiki extensions
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l