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

--- Comment #59 from Gabriel Wicke <gwi...@wikimedia.org> ---
Changes to this behavior will also very likely break a lot of existing content
for a small gain in usability. This is also the reason why it was reverted in
the past. 

Removing the newline insertion would also make life for Parsoid harder. Example
case:

{{random}}{{echo|* foo}}

The newline context of * foo now depends on the expansion of the random
template. This makes independent parsing, correct WYSIWYG and efficient updates
for template expansions very difficult to impossible. The newline insertion
hack happens to help us here, even if the original author probably didn't think
about future parser development affected by this.

My preference is to focus efforts on better DOM-based templating rather than
spending a lot of time moving sideways with wikitext templating.

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

Reply via email to