The Parsoid does not give the correct HTML/RDF output by parsing a <gallery> media description, if this one includes a "red" wikilink.
For example, this wikitext:
<gallery>
File:View from connors hill panorama.jpg|[[Tagada Tagada]]
</gallery>
generates this:
<a href="/w/index.php?title=Tagada_Tagada&action=edit&redlink=1" class="new" title="Tagada Tagada (page does not exist)" data-parsoid="{}">Tagada Tagada</a>
...and it should generate something like this (output of "[[Tagada Tagada]]"):
<a rel="mw:WikiLink" href="./Tagada_Tagada" data-parsoid='{"stx":"simple","a":{"href":"./Tagada_Tagada"},"sa":{"href":"Tagada Tagada"},"dsr":[11,28,2,2]}'>Tagada Tagada</a>
At least, the <a> "href" attribute is wrong.
Version: unspecified
Severity: enhancement