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

RESOLVED FIXED

Status

developer.mozilla.org
General
RESOLVED FIXED
10 years ago
4 years ago

People

(Reporter: ted, Unassigned)

Tracking

Details

(Whiteboard: [mentor=groovecoder])

(Reporter)

Description

10 years ago
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

Updated

6 years ago
Blocks: 671735
Replaced Deki with Kuma, our new MDN platform. We have something similar in Kuma, too.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Component: Deki Infrastructure → Other
Product: Mozilla Developer Network → Mozilla Developer Network
(Reporter)

Comment 2

4 years ago
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?
(Reporter)

Comment 4

4 years ago
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)

Comment 8

4 years ago
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

Updated

4 years ago
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago4 years ago
Resolution: --- → FIXED
Flags: needinfo?(dwalsh)
You need to log in before you can comment on or make changes to this bug.