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

--- Comment #1 from James Forrester <[email protected]> ---
(In reply to comment #0)
> Single newlines have no effect on the way a wiki page is displayed.
> So they should be ignored in a WYSIWYG editor.
> 
> Example: Third line at
> http://en.wikipedia.org/wiki/
> Content_Management_Interoperability_Services#Specification_progress_.
> 26_TC_members

Yeah, this is a bit of a mess. In wikitext (except in some circumstances like
<pre>s), \n is a whitespace character, rendered as either a space or as nothing
depending on the things around it, but \n\n is "</p><p>".

We could:

* Silently strip non-conformant wikitext syntax like this on ingest, but this
would mean that VisualEditor would not play well with other, wikitext-based
users.

* Show the newline as a line break in VisualEditor - in a way that (a) doesn't
look like a new paragraph/context has started, and (b) doesn't look like <br
/>s will look, either, and in some way conveys the fact that it's different.

* (Current behaviour) Show the newline as a special kind of character in
VisualEditor - in a way that (a) doesn't look like a 'real' new line, because
it isn't.

* Silently not show the new line as such (but instead as… a space?), which is
prone to having users accidentally alter them without intention, again causing
problems for intermixed VisualEditor and wikitext editor sessions.

What are your thoughts?

-- 
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