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.
Version: unspecified
Severity: normal