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

--- Comment #41 from Vitaliy Filippov <vita...@yourcmc.ru> 2011-02-11 18:10:01 
UTC ---
Created attachment 8126
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8126
Completely rewritten doBlockLevels for MediaWiki 1.16

Hmm... You're right.

But there are so many problems with doBlockLevels that I think the correct way
to fix all them is to rewrite it, and I've even done it now! :) (for 1.16, but
is there any difference to trunk?) Patch is attached. It even passes all parser
tests with some modifications similar to "</p>\n<table>" --> "</p><table>",
which, I suppose, isn't any real difference.

The patch not only fixes newline issues with <blockquote> etc, but also
replaces <p>...</p> to <div class="paragraph">...</div> when ... contains
<div>'s, which, I think, could be very controversial, but I see no other
solution that fixes the following problem:

(example)
"""
A [[Image:B.jpg|right]] C

A [[Image:B.jpg|right]] C
"""
is not split into two paragraphs as each of them contains <div
class="floatright">.

(other possible solution is to not use <div> in thumbnail code and replace it
with some inline element with display:block style, but this is even uglier and
breaks HTML semantics)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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