Page MenuHomePhabricator

VisualEditor: Transclusion editor template search should additionally find in-string matches
Open, MediumPublicFeature

Description

Split from bug 51436, Original comment was:
"Also typing a word only shows template names starting with that word, not
containing it, which is a weird search behaviour.

If I type "book", template "Cite book" is not shown, which limits the search
functionality to be useful only for people who already know template names
(i.e. those who don't need it)."

A further relevant comment was:
"This is asking for VisualEditor ... to use an entirely different (and slower) part of MediaWiki's search infrastructure so we can do in-string searching rather than left-string completion."


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51670

Details

Reference
bz51822

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:59 AM
bzimport set Reference to bz51822.

crypticc62 wrote:

Even if in-string searching is used instead of left-string completion, there is still the problem of templates whose names are completely unsearchable, such as {{rp}} and pretty much everything in [[Category:Typing-aid templates]].

What would be very useful is a TemplateData field in which editors can list relevant keywords that users might search for. Perhaps it could be called "keywords" or "tags". Without something like this, it's not clear to me how new users would ever find the templates they're looking for.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: rmoen.