Topic on VisualEditor/Feedback

Visual diff - Changes to existing references are not shown in the main window or the sidebar (reference issues)

2
Summary by Elitre (WMF)
197.218.83.122 (talkcontribs)

Problem

A change to an existing reference is not shown on the sidebar or the main window.

Reproduction steps

  1. Go to an article with an reference, e.g.Extension:Scribunto () and enter edit mode
  2. Click on a reference, e.g. reference 1 ("i.e. proc_open is not within the array of disable_functions in your server's "php.ini" file.")
  3. Click edit
  4. Change the reference text to "test1"
  5. Click apply changes
  6. Click publish changes
  7. Click review changes
  8. Click Visual

Expected

A change to an existing reference is shown .

Actual

No change is visible, and there is no sidebar description.

197.218.83.122 (talkcontribs)

Problem 2:

When two references switch positions their numbering is shown incorrectly in the preview.

Steps to reproduce:

  1. Go to an article with an reference, e.g.Extension:Scribunto () and enter edit mode
  2. Cut (e.g. copy) reference 1 from its location, and paste it on the location of reference 2
  3. Cut (e.g. copy) reference 2 from its location, and paste it on the location of reference 1,
  4. Follow the rest of the steps in the first post

Expected

The preview shows reference "[1]" for the first reference, and reference "[2]" for the second

Actual output

The preview shows reference "[2]" for the first reference, and reference "[1]" for the second

Notes:This is pretty confusing with two references, so imagine with 5 or more references being moved around. It might also be useful to add some sort of note in the sidebar and perhaps include a hover that displays the content of the references.