https://bugzilla.wikimedia.org/show_bug.cgi?id=50157

--- Comment #2 from [email protected] ---
Currently our HTML -> WT serialization only modifies wikitext (if any) in
edited sections.  So, when templates are edited (as in this example), some
whitespace normalization is inevitable since Parsoid does not carry around
exact syntatic details (whitespace, quote chars) for every wikitext element.

Once all the more higher priority bugs are ironed out, we could consider
looking at improving the granularity of our selective serializer to look into
template transclusion wikitext and identify individual modified parameters and
use original source wikitext for unmodified parameters.

So, long story short, at least for now, for modified templates, there will be
some whitespace and quote diffs on some template transclusion wikitext.

We had originally picked a default where we didn't add additional spaces around
'=' chars.  Now, based on discussion with the VE folks and other requests, we
decide to go change the default to adding a single whitespace around '=' chars
where necessary.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to