Topic on Extension talk:VisualEditor

VisualEditor manipulating whitespace?

5
Teysz Kamieński (talkcontribs)

Recently, the wiki I'm an administrator of forked away from Wikia to its own independent site with a fully up-to-date MediaWiki version. This includes this new version of the Visual Editor which is great (and better than Wikia's) for newbies and IPs, however every time anyone uses the VisualEditor it removes empty lines from one place, adds empty lines in other places and also removes spaces between the asterisk character and the content that follows.e.g. " * Content" becomes "*Content". Is there a way to stop VE from doing that? I've been manually reverting all those changes while also keeping the actual edits that the editors who were using VisualEditor made. There must be some way to stop VE from forceably altering the whitespace on pages? I looked through the complete list of configuration options and I couldn't find an option that might be related.

Whatamidoing (WMF) (talkcontribs)

Whitespace changes are usually (but not always) a Parsoid thing. Are you running the correct version of Parsoid?

There has been some whitespace preservation work in the past (e.g., T45543) but I haven't seen recent complaints about this.

Teysz Kamieński (talkcontribs)

I've been told by a sysadmin that we're using the latest version of Parsoid, 0.9.0.

2601:19B:A00:C0CC:0:0:0:843F (talkcontribs)

I think you need to be using RESTBase as well as Parsoid so that you get selective serialization, which prevents some of these normalizations from causing dirty diffs.

Teysz Kamieński (talkcontribs)

Problem is solved now. I believe the sysadmins did indeed turn on selective serialization.

Reply to "VisualEditor manipulating whitespace?"