Page MenuHomePhabricator

Make Linter transcluded templates links relatives
Closed, DuplicatePublic

Description

Hello. In Linter categories last column, if the problem is something like

{{/subpage}}

the red link is shown, despite the fact there are no problems in the page itself. That's because the address is relative to the page.

Event Timeline

This was also reported on MediaWiki.org (https://www.mediawiki.org/wiki/Topic:Tpndwksqygwomjlk), and the problem occurs similarly with Flow boards when using ?action=info. It does function correctly on regular pages. Since Flow uses Parsoid, and so does Linter (it relies on Parsoid to get those errors if I understood it correctly), this might suggest it is an error on Parsoid's side.

This was also reported on MediaWiki.org (https://www.mediawiki.org/wiki/Topic:Tpndwksqygwomjlk), and the problem occurs similarly with Flow boards when using ?action=info. It does function correctly on regular pages. Since Flow uses Parsoid,

I don't think this is Parsoid-related. @Mattflaschen-WMF, @Catrope?