Page MenuHomePhabricator

VisualEditor: categories being duplicated
Closed, ResolvedPublic



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:01 AM
bzimport set Reference to 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

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