Page MenuHomePhabricator

Space inserted before link after single-character deletion
Closed, ResolvedPublic



I noticed something odd when using VisualEditor. I decided to use it when snooping around for various "it's" typos, for removing apostrophes seemed/is faster with VE than the old fashioned way. However, some of my edits seem to have done more than take out apostrophes. Seven times today ([] [] [] [] [] [] []), VE added an extra space in a random place in the article (if it's hard to tell, on the last one it added the space right after "its"). And then it altered references on [ another], including changing access-dates. I don't think that's supposed to happen... [[User:Greengreengreenred|<font color="#014421">Green</font>]][[User talk:Greengreengreenred|<font color="#50C878">green</font>]][[Special:Contribs/Greengreengreenred|<font color="#66FF00">green</font>]]<font color="red">red</font> 02:25, 3 July 2013 (UTC)

Might be a Parsoid bug based on selser tracing. There seems to be only a single space both in the original and the edited HTML.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:05 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz50636.

Relevant part of the selser trace (note the extra space):

SS: ", an experimental racing car. The car was designed to reduce aerodynamic drag dramatically allowing for quicker straight and cornering speeds while using half as much power and half as much weight. Despite skepticism over the project, the DeltaWing made its debut at the "
SS: " "
SS: "[[2012 24 Hours of Le Mans]]"

Offhand, without having investigated this, it seems like a DSR issue.

In the accessdate example, the old markup is bad (duplicate accessdate); the second one apparently wins, which makes sense. However, there don't seem to be any actual changes in that paragraph, so it ideally shouldn't be affected at all.

Change 71757 had a related patch set uploaded by GWicke:
Bug 50636: Don't extrapolate DSR on change

Change 71757 merged by jenkins-bot:
Bug 50636: Don't extrapolate DSR on change