Page MenuHomePhabricator

VisualEditor: Switch Category input from title matching to prefix search
Open, Needs TriagePublicFeature

Description

Currently the input field for adding a category is relying on prefix title matching. This is suboptimal as it requires exact matches, which can be a problem.

Instead switch it to the logic we use for adding links, which now relies on prefix matching, which is fuzzy and takes into account redirects etc.

This was not implemented like this originally, because back in 2013, prefix search instead of title matching did not yet exist.

Event Timeline

TheDJ changed the subtype of this task from "Task" to "Feature Request".Mar 6 2024, 10:36 AM

Should this one be merged into T59302? It includes things like a big table of the trade-offs between the various options. (With everything else currently losing out to allcategories because it's the only one that works for categories without a Category: page.)