Provide linkable anchors in diff view (e.g. content top, line numbers)
OpenPublic

Description

Author: gangleri

Description:

In diff displays, it is sometimes hard to find the altered text in the article or edit page. This is particularly true for small edits to large tables or complex references. Blocks of text in diffs are always preceded by a line number. It would be helpful if that line number was a live link that took you to the place in the text where the changed block occurs, perhaps highlighting the first few words of the text in the diff block.


Hallo!

It might be a good idea to provide links between the diff section and the
content on the diff result page. This would save time to follow the changes.

Main reason is to quickly follow the implication of the changes in general and
the change to parameter values in particular.

Best regards Reinhardt [[user:gangleri]]


Such a feature is available e.g. in GitHub and gitblit diffs. (Which also load the anchor in question on double click, though; that should be a separate task.)


Version: 1.24rc
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Wikipedia%3ACategorization&diff=14642409&oldid=14642357
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=61486

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz2313.
bzimport created this task.Via LegacyJun 4 2005, 2:49 AM
bzimport added a comment.Via ConduitJun 10 2005, 11:56 AM

gangleri wrote:

addition to comment 0
It would be nice to know if "localurl" supports anchors and how to code them.

Please see:
http://test.leuksman.com/index.php/REVISIONID_tests_relating_move_and_anchors_-_main
with (unsuccessful) attempts to refere to
http://test.leuksman.com/index.php/REVISIONID_tests_relating_move_and_anchors_-_step_1
trough "localurl"

If "localurl" does *not* support anchors I would like to open a new bug report.

Regards Reinhardt [[user:gangleri]]

brion added a comment.Via ConduitAug 19 2005, 9:20 AM
  • Bug 3193 has been marked as a duplicate of this bug. ***
bzimport added a comment.Via ConduitAug 25 2005, 11:25 AM

mediazilla wrote:

Another anchor... Everyone is watching their watch pages, correct? So when you
click on diff, hist or the person who changed an article, all fine, but...

When you click on the article you are most likely heading to the article to
check out the changes *without* diff information. If someone editted a section,
the section is displayed on the watch page. So, you want to head to the section.
There are anchors at the section heading. Why doesn't it automatically link to
the section header? This is especially true for Talk pages, since they are
almost always under a new heading AND at the very bottom of a very long list.

bzimport added a comment.Via ConduitSep 9 2005, 5:05 AM

mediazilla wrote:

I also noticed that what I believe would be in the same category. Although I
don't know if the dev groups are split between teams that work on the watchpage
and the diff page. If so, sorry.

When someone creates a new subsection on a talk page, it is listed as an edit on
the (top). This is technically correct, but shouldn't the watch pages have a '
-> ' that heads to that new section as if someone had just editted an existing
section?

MarkAHershberger added a comment.Via ConduitMay 15 2011, 12:32 AM

I don't understand what you want. And it has been almost 6 years since anyone commented. WONTFIX seems appropriate.

MZMcBride added a comment.Via ConduitMay 15 2011, 3:38 AM

(In reply to comment #5)

I don't understand what you want. And it has been almost 6 years since anyone
commented. WONTFIX seems appropriate.

What in the hell. Don't do that. Re-opening.

Aklapper added a comment.Via ConduitNov 4 2013, 10:06 AM
  • Bug 56541 has been marked as a duplicate of this bug. ***
Aklapper added a comment.Via ConduitMay 2 2014, 11:10 AM
  • Bug 63707 has been marked as a duplicate of this bug. ***
Aklapper added a comment.Via ConduitAug 16 2014, 10:13 AM
  • Bug 61486 has been marked as a duplicate of this bug. ***
bzimport added a comment.Via ConduitAug 17 2014, 11:19 AM

agr wrote:

I reported 63707 as a feature request. I think it had a clearer explanation of the need. Here is what I wrote:

"In diff displays, it is sometimes hard to find the altered text in the article or edit page. This is particularly true for small edits to large tables or complex references. Blocks of text in diffs are always preceded by a line number. It would be helpful if that line number was a live link that took you to the place in the text where the changed block occurs, perhaps highlighting the first few words of the text in the diff block."

I have been editing Wikipedia for ten years and run into this problem all the time. I'm sure other editors do as well and that there are errors that have crept into the encyclopedia because it is too hard to find what has changed. I would also note that three other bugs have been redirected here, but this bug only has two votes. That seems wrong. --agr

Nemo_bis changed the title from "Provide linkable anchors to start or related paragraphs in diff view" to "Provide linkable anchors in diff view (e.g. content top, line numbers)".Via WebJan 16 2015, 10:25 PM
Nemo_bis edited the task description. (Show Details)
Nemo_bis set Security to None.
gerritbot added a project: Patch-For-Review.Via ConduitJan 16 2015, 10:55 PM
gerritbot added a subscriber: gerritbot.

Change 185568 had a related patch set uploaded (by Nemo bis):
Add anchor "lead" for beginning of page content in diff view

https://gerrit.wikimedia.org/r/185568

Patch-For-Review

gerritbot added a comment.Via ConduitJan 16 2015, 11:16 PM

Change 185569 had a related patch set uploaded (by Nemo bis):
Add linkable anchor #L<N> to (original text) line number in diff

https://gerrit.wikimedia.org/r/185569

Patch-For-Review

Nemo_bis raised the priority of this task from "Lowest" to "Normal".Via WebJan 16 2015, 11:16 PM
Nemo_bis added a subscriber: Nemo_bis.Via WebJan 16 2015, 11:19 PM

Some parts of this feature request are easy to accomplish (see the two patches above), some others way less, especially T4313#68272 which asks anchors within the parsed HTML itself (if I understood correctly).

gerritbot added a comment.Via ConduitWed, Mar 4, 10:23 AM

Change 185568 merged by jenkins-bot:
Add anchor "mw-oldid" for beginning of page content in diff view

https://gerrit.wikimedia.org/r/185568

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.