When you put a [[Pagename]] link in Flow, Parsoid generates a link of the form
<a rel="mw:WikiLink" href="./Pagename" data-parsoid="{&qu blah blah ...
Note it's a relative link, not an absolute link. This works if you are viewing /wiki/User_talk:SomeBoard , but if you view a permalink, or view a diff, or even just http://ee-flow.wmflabs.org/w/index.php?title=User_talk:Spage , the relative href to /w/index.php becomes a link to /w/Pagename, which is a 404.
This feels like a Parsoid problem, but it might be addressed by ErikB's comment in ParsoidUtils.php,
// @todo needs a big refactor to get a page title in here, fake Main_Page for now
(Huge props to quiddity for noticing this one.)
Version: master
Severity: major
URL: ee-flow.wmflabs.org/w/index.php?title=User_talk:Spage&workflow=0508e9b63c8f34dffb6efa163e68c4ac