Parsoid had traditionally emitted links relative to a base element in the head of the document <base href="//en.wikipedia.org/wiki/"/>. In read views, those are resolved,
<a rel="mw:WikiLink" href="//en.wikipedia.org/wiki/Help:Introduction_to_images_with_Wiki_Markup/1" class="mw-selflink selflink">...
but the resource attribute is left relative,
<img alt="Page semi-protected" resource="./File:Semi-protection-shackle.svg" ...
which is an issue on subpages.
It looks like the |link= media options is also affected,
<span typeof="mw:File" data-parsoid='{"optList":[...{"ck":"link","ak":"link=Wikipedia:Protection policy#semi"},...]}' data-mw='{"caption":"This page is semi-protected."}'><a href="./Wikipedia:Protection_policy#semi" title="This page is semi-protected." data-parsoid="{}">
Examples are from https://en.wikipedia.org/wiki/Help:Introduction_to_images_with_Wiki_Markup/1?useparsoid=1