VisualEditor: categories being duplicated
Closed, ResolvedPublic

Details

Reference
bz52238

Isolated test case:

  1. Create a page with "*Foo\n[[Category:Bar]]\n[[Category:Baz]]"
  2. Edit the page in VE
  3. Move the cursor to the end of the list item and press enter. This creates a new list item and puts the cursor in it
  4. Click the list button (the one that's depressed) in the toolbar. This causes the list item to go away and makes the cursor jump out of the list.
  5. Review changes. The diff will duplicate both of the categories at the beginning of the page, preceded by a newline.

Change 76665 had a related patch set uploaded by Catrope:
Don't duplicate categories when unlisting

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

Change 76665 merged by jenkins-bot:
Don't duplicate categories when unlisting

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

Going out in a little while.

Add Comment