Closed Bug 467346 Opened 16 years ago Closed 10 years ago

Deki history view should have a link per-revision to view changes in that revision vs. previous revision

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Unassigned)

References

Details

(Whiteboard: [mentor=groovecoder])

The Deki history view currently has a link per-revision to let you view that specific revision, but if you want to see a diff of what that revision changed, you need to select the right radio buttons and click "compare". MediaWiki has a "last" link per-revision that will bring up a diff of the selected revision against the previous revision. I find this extremely useful to quickly see what was changed in a revision.

Compare:
https://developer.mozilla.org/index.php?title=En/Mozilla_internal_string_guide&action=history
http://en.wikipedia.org/w/index.php?title=Mozilla&action=history
Blocks: 519025
Blocks: 671735
Replaced Deki with Kuma, our new MDN platform. We have something similar in Kuma, too.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Deki Infrastructure → Other
So uh, Kuma definitely doesn't do what I asked for here. If I load a revision history, say:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites$history

There's the usual "compare revisions" radio buttons, as well as a link to view a specific revison, but there's no "diff against parent" link per-revision, which is what I really want. If you look at the Wikipedia link in comment 0, you can see that each revision has a "prev" link that just gives you the diff of the changes in that revision vs. the previous revision. *That's* what I want.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Do you mean just the 'prev' link on each item?
Yes, precisely.
:habber and/or :davidwalsh - what do you think about adding a "prev" link to each item on the history page? It would be a quick-link to compare a revision its previous revision.
Flags: needinfo?(hhabstritt.bugzilla)
Flags: needinfo?(dwalsh)
Whiteboard: [mentor=groovecoder]
If that's what is being requested, that should be feasible if the Document object has a way to get the next and prev revisions.
Flags: needinfo?(hhabstritt.bugzilla)
Flags: needinfo?(dwalsh)
Yup - doc.current_revision.get_previous() should work. 

:davidwalsh - could this be a good starter bug for :system64?
Flags: needinfo?(dwalsh)
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/f8c4090213f03feeb78c0d6907c6d04cc92b97d5
Fix bug 467346 - Adding prev link to revision history

https://github.com/mozilla/kuma/commit/d6714c04ef9a020b59e8295fda7401022324b93f
Merge pull request #2412 from iakshay/bug-467346

Fix bug 467346 - Adding prev link to revision history
Status: REOPENED → RESOLVED
Closed: 12 years ago10 years ago
Resolution: --- → FIXED
Flags: needinfo?(dwalsh)
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.