Closed Bug 770539 Opened 12 years ago Closed 12 years ago

Button in history for reverting to a particular revision

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Unassigned)

References

Details

(Whiteboard: p=)

Instead of having a "delete" button by each revision in page history, let us pick any older version and revert to it. This is more user-friendly and less scary.

Plus, ideally, this would be recorded so that reverts can be reverted so that doorknobs reverting stuff they shouldn't have can be easily corrected. (This does happen, fairly often, sometimes on purpose, frequently by mistake or misunderstanding).
NOT a launch priority.
MediaWiki does something very similar. Do you like their approach?
Blocks: 756266
Take a look at the history page on the MediaWiki site. This is actually something I like about MindTouch.
Great!

For reference, see the following MediaWiki revision demo:

https://wiki.mozilla.org/index.php?title=MDN/mediawiki_revision_demo&action=history
Priority: -- → P2
Whiteboard: s=2012-08-22
Summary: Kuma: history - "delete" feature should be a revert instead → Button in history for reverting to a particular revision
Whiteboard: s=2012-08-22 → s=2012-08-22 p=2
Assignee: nobody → jbennett
Whiteboard: s=2012-08-22 p=2 → s=2012-08-22 p=2 s=2012-08-29
Whiteboard: s=2012-08-22 p=2 s=2012-08-29 → s=2012-08-22 p=0 s=2012-08-29
What's needed at this point is a bit of UI/templating work; there's a template for showing a confirmation page, to let the user know what they're reverting to, and then once that's done we'll need the document history template to link to the revert view for each revision.
Assignee: jbennett → nobody
Bumped points down for this and opened bug 784754 for the necessary front-end work.
Whiteboard: s=2012-08-22 p=0 s=2012-08-29 → s=2012-08-22 p=2 s=2012-08-29
Marked this as p=0 just because back-end work is done. Bug 784754 (also in the sprint) has 2 points for completing the front-end work.

Sort of a hack. What I really should have done is split this up from the start and added a tracking bug for the feature at large. That's what I plan to do in the future at least.
Whiteboard: s=2012-08-22 p=2 s=2012-08-29 → s=2012-08-22 p=0 s=2012-08-29
Depends on: 784754
What exiting view is in place for this?  Once I know that, I can get started.
Version: Kuma → unspecified
Component: Website → Landing pages
James: Any idea on comment 8?
Flags: needinfo?(jbennett)
Component: Landing pages → Editing
Priority: P2 → --
Whiteboard: s=2012-08-22 p=0 s=2012-08-29 → p=
No longer blocks: 756266
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(jbennett)
Resolution: --- → FIXED
Depends on: 791821
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.