Page MenuHomePhabricator

Visual editor inserts blanks h4-tag, new line and changes links
Closed, ResolvedPublic

Description

In german wiktionary the visual editor makes unintended changes to the source text. See https://de.wiktionary.org/w/index.php?title=einen&diff=6289743&oldid=6289729

  • inserts a new line between level 2 and level 3 headers
  • inserts a blank after colons
  • changes links [[unbestimmt]]er to [[unbestimmt|unbestimmter]]
  • converts level 4 header to h4-tag

This happens not on all articles. The article https://de.wiktionary.org/wiki/einen is the only one found so far. In this edit i added a comma after ]]en https://de.wiktionary.org/w/index.php?title=Ethnie&curid=39211&diff=6289796&oldid=6289782

Event Timeline

These mostly look like Parsoid issues.

@Pchelolo @mobrovac could this have been a restbase failure to fetch old revision content?

ssastry triaged this task as Medium priority.Feb 26 2018, 4:20 PM

It does indeed look quite like a mismatch for html and data-parsoid. I have looked into the storage and there is both html and data-parsoid for that old revision still stored with matching TIDs and the values seem to be correct.

I've tried to look if there's something interesting logged about that page around the time of the corrupted edit and couldn't find anything either.

ssastry claimed this task.

I am going to close this. This was probably some transient failure in the VE -> RESTBase -> Parsoid communication path and there isn't a way to reproduce this now.