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

Roan Kattouw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]
          Component|General                     |General
           Assignee|jforrester+veteambztickets@ |[email protected]
                   |wikimedia.org               |
            Product|VisualEditor                |Parsoid
            Summary|VisualEditor mistakes the   |Parsoid is too aggressive
                   |first sentence of an        |about marking content
                   |article as part of the      |surrounding templates as
                   |template                    |template-generated

--- Comment #2 from Roan Kattouw <[email protected]> ---
In this particular case it looks like there was no newline between the infobox
template and the start of the content, and the template caused a paragraph
break between it and the content and also inserted a category which for
whatever reason was put inside of the paragraph instead of just before it, so
the paragraph got marked as template-generated because it contained a category
that came from the template.

See DOM of
http://parsoid-lb.eqiad.wikimedia.org/hewiki/%D7%90%D7%99_%D7%94%D7%97%D7%96%D7%99%D7%A8?oldid=15683898

(In reply to Roan Kattouw from comment #1)
> I have observed this kind of behavior pretty frequently. It appears that if
> a template outputs a newline at the end (which is common, and easy to do by
> accident), Parsoid will consider the entire paragraph to be
> template-generated.
I take that back, that's only for double newlines. It does happen for single
newlines if you're in a list though.

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