Last modified: 2014-03-01 00:15:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53436, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51436 - VisualEditor: Template search results list should contain each template's descripton
VisualEditor: Template search results list should contain each template's des...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-templatesupport
  Show dependency treegraph
 
Reported: 2013-07-16 13:20 UTC by turingt
Modified: 2014-03-01 00:15 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description turingt 2013-07-16 13:20:26 UTC
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.
Comment 1 John Mark Vandenberg 2013-07-22 03:09:03 UTC
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.
Comment 2 turingt 2013-07-22 14:08:06 UTC
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).
Comment 3 James Forrester 2013-07-22 15:40:36 UTC
(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.
Comment 4 Chris McKenna 2013-07-22 15:56:55 UTC
(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?
Comment 5 James Forrester 2013-07-22 16:15:14 UTC
(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.
Comment 6 Chris McKenna 2013-07-22 16:50:23 UTC
Thanks for the explanation, I've now reported it as bug 51822.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links