Page MenuHomePhabricator

VisualEditor link inspector does not suggest non-existent known pages
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Edit a page with VE
  • Open the link dialog
  • Type in the name of a page that's known (in the sense of Title::isKnown()) but doesn't exist locally, e.g. a global user page.

What happens?:
You get a dropdown list of pages staring with that string. The list won't contain the page itself.

What should have happened instead?:
The page (which is an exact match to the typed text) should be the first item on the dropdown list.

Event Timeline

Related is that in T230819 we turned off the exact query match to duplicate results that only differed by case.

T291056 also made some similar changes to the TitleWidget.

There is logic in place to query the metadata for the exact input, and detect that it is missing but know, but the result is not shown when there are prefixedsearch results.

Esanders renamed this task from VisualEditor link dialog does not handle non-existent known pages to VisualEditor link inspector does not suggest non-existent known pages.Mar 23 2022, 2:39 PM
Mmm1100 triaged this task as Unbreak Now! priority.Dec 27 2022, 3:00 PM
Mmm1100 removed a subscriber: Tgr.
Aklapper lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 27 2022, 7:42 PM
Aklapper added a subscriber: Tgr.