Page MenuHomePhabricator

Search result "section" link incorrectly states that the surrounding page doesn't exist
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The result links its page name with a blue link (naturally, as non-existent pages should never be a result, if existence is checked at all, it should presumably result in skipping the result and not displaying a red link).

Next to that, is a matching section name from within the page. This is linked, but is in red, with a tooltip stating incorrectly that the page doesn't exist.

Screenshot 2023-01-04 at 14.17.51.png (506×1 px, 166 KB)

In addition to displaying confusingly, the link destination is also broken. It goes to action=edit&redlink=1 and has lost the section anchor. So even with MediaWiki core's built-in correction of the redlink to a page view, it still misses the point of the link which is to navigate to the section in question.

What should have happened instead?

  • Link to the actual section.
  • Regular blue link (no "does not exist" tooltip).