https://bugzilla.wikimedia.org/show_bug.cgi?id=71361
Bug ID: 71361
Summary: Paragraph wrapping only moves out the last
SOL-transparent link
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: token-stream transforms
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
With wikitext such as (taken from test "Double interlanguage link")
Blah blah blah
[[es:Spanish]]
[[zh:Chinese]]
the output is
<p>Blah blah blah
<link rel="mw:PageProp/Language"
href="http://es.wikipedia.org/wiki/Spanish"/></p>
<link rel="mw:PageProp/Language" href="http://zh.wikipedia.org/wiki/Chinese"/>
Only the last link is taken out of the <p> by ParagraphWrapper::closeOpenPTag
instead of all of them. This doesn't produce any visual differences but it
looks strange.
Found while fixing bug #69240, more information there.
Another possible case (or an unrelated issue) appears with this enwiki text:
----------------------------
{{Aligudarz County}}
[[Category:Populated places in Aligudarz County]]
{{Aligudarz-geo-stub}}
---------------------------
where a category link gets put inside an unnecessary <p> because of an existing
<br/>.
--
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