Template search results list should contain each template's descripton
Closed, ResolvedPublic8 Story Points

Description

Author: turingt

Description:
See this feedback trhead: [ https://en.wikipedia.org/wiki/Wikipedia:VisualEditor/Feedback#Observation_-_Template_Editor_behavior_improved ]

The search results for parameters include each parameter's description, making it easy to select the right one.

But the templates list result contains only the template name, even though the template description is available (it's shown right 'after' a template is selected, so it doesn't help in choosing the right template).

So, add the template description to the search results list.


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

Details

Reference
bz51436
bzimport set Reference to bz51436.
bzimport created this task.Jul 16 2013, 1:20 PM

Also typing in 'new' into the New template box returns a list of 10 templates starting with 'new', with no way to scroll through the longer list of templates starting/containing with 'New'

https://en.wikipedia.org/wiki/Special:PrefixIndex/Template:New

More practical, 'New Zealand' or 'New York' only returns 10, and the user may not know the right keyword needed to return better results.

turingt wrote:

Also typing a word only shows template names starting with that word, not containing it, which is a weird search behavior.

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).

(In reply to comment #2)

Also typing a word only shows template names starting with that word, not
containing it, which is a weird search behavior.

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).

That is a distinct enhancement request; please open a new bug for it.

(In reply to comment #3)

> 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).

That is a distinct enhancement request; please open a new bug for it.

Is it distinct or is it part of bug 51670?

(In reply to comment #4)

(In reply to comment #3)
> > 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).
>
> That is a distinct enhancement request; please open a new bug for it.

Is it distinct or is it part of bug 51670?

It's distinct. This is asking for VisualEditor when searching pages (for links), categories (for the category dialog) and templates (for the transclusion dialog) 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.

Thanks for the explanation, I've now reported it as bug 51822.

Jdforrester-WMF changed the title from "VisualEditor: Template search results list should contain each template's descripton" to "Template search results list should contain each template's descripton".Nov 24 2014, 2:52 AM
Jdforrester-WMF set Security to None.
Mvolz added a subscriber: Mvolz.Mar 25 2015, 4:57 PM

Change 203459 had a related patch set uploaded (by Mooeypoo):
Show template description in the template search

https://gerrit.wikimedia.org/r/203459

Mooeypoo claimed this task.Apr 13 2015, 6:02 PM

Change 203459 merged by jenkins-bot:
Show template description in the template search

https://gerrit.wikimedia.org/r/203459

Verified the fix in Betalabs

Add Comment