Page MenuHomePhabricator

VisualEditor: Slug oddness - Prepending text to article starting with {{Infobox ..}} removes the entire article
Closed, ResolvedPublic

Description

Screenshot showing the diff and the editor

Steps to reproduce problem:

Expected result:
The character is inserted. Showing the diff now shows the addition of "'''a'''" (either above or below the {{infobox}}, doesn't really matter). Preferably below so that it is next to the paragraph it was added before.

Actual result:
The character is inserted. Visually nothing else changed (the infobox and the rest of the article are stil there). However, clicking "Review and save" now will show a diff where the infobox and the entire article have been removed and "'''a'''" was added in its place.


Version: unspecified
Severity: normal

Attached:

screenshot-ve-gone.png (768×803 px, 198 KB)

Details

Reference
bz43103

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:45 AM
bzimport set Reference to bz43103.

This is fundamentally an "editing what appears to be a blank space but is actually a slug means this behave in a way I did not anticipate" - assigning to CE, but we really need to talk about this and what we should do longer-term.

  • Bug 46506 has been marked as a duplicate of this bug. ***

I think I know what's the reason of this problem. I will work on it next week.

This seems to be fixed already (try to reproduce on English Wikipedia).