Topic on Talk:VisualEditor/Diffs

Fixed a typo, shows the entire content on "diff"

4
Summary by ESanders (WMF)
Chbrandt (talkcontribs)

I fixed a typo (Postgress) at page "New Developers", and it is showing the entire content on "diff": all red and all green. I was expecting to see only the edited text (Postgress -> Postgres, or really 's' -> ' ') diff'd. To have the entire content highlighted (red/green) is confusing.

ESanders (WMF) (talkcontribs)

The visual diff will not work well on pages with <translate> tags. We could consider turning it off on such pages.

Vhhhhjhgy (talkcontribs)

@Chbrandt it shows as entire text but actually only changes you made are done. Rest is all same.

Chbrandt (talkcontribs)

@Vhhhhjhgy right, I understood that. I was just pointing out that -- visually -- it is confusing, a lot of...visual noise. And the goal of the issue was to raise/highlight the matter; maybe the diff algorithm could focus on what in the text _content_ actually diff/changed.