https://bugzilla.wikimedia.org/show_bug.cgi?id=43836
Web browser: ---
Bug ID: 43836
Summary: Captions of inline images not rendered
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
The wikitext:
Foo [[File:Frisian flag.svg|simple caption|thumb]] bar
renders a <figure> with a caption, but the wikitext:
Foo [[File:Frisian flag.svg|simple caption]] bar
renders an <a><img> with no caption. MediaWiki's PHP parser renders the caption
as the title attribute of the <a>. If the caption of an inline image contains
wikitext, it's distilled down to plain text. For instance, try [[File:Frisian
flag.svg|'''rich''' [[text]] in
<table><tr><td>the</td><td>caption</td></tr></table>]] for instance.
For non-inline images, Parsoid behaves totally correctly, including the
rendering of captions containing wikitext.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l