VisualEditor: Appending to a line shows additions before end of line in diff


Steps to reproduce:

  1. Find a page that already has a category
  2. Edit in VE, and add a category
  3. Review changes

Expected results:
The diff is
+[[Category:New cat]]

Actual results:
The diff is
-[[Category:Old cat]]
+[[Category:Old cat]][[Category:New cat]]

With the chunk between the stars viewed as added.

This also happens in the source editor, but it is less common that people will append a category to an existing category as that is against all style guidelines. However the Visual Editor is doing just that.

Version: 1.23.0
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz56880.
jayvdb created this task.Via LegacyNov 11 2013, 5:03 AM

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.