Last modified: 2014-10-23 22:26:38 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 T58516, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56516 - VisualEditor: In transclusion dialog, only suggest templates intended for use in that namespace (e.g. suppress meta-templates from content namespaces)
VisualEditor: In transclusion dialog, only suggest templates intended for use...
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:
  Show dependency treegraph
 
Reported: 2013-11-02 16:55 UTC by Helder
Modified: 2014-10-23 22:26 UTC (History)
9 users (show)

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


Attachments

Description Helder 2013-11-02 16:55:28 UTC
Intention:
I wanted to help a new user to find a template to add a reference to an article.

Steps to Reproduce:
1. The user was already using Visual Editor. So, suppose we clicked in the link
https://pt.wikipedia.org/wiki/Special:Random?veaction=edit&uselang=en
2. I instructed the user to open the transclusion interface (More > Transclusion)
3. Since I knew the name of our citation templates, I suggested the user to type "citar livro" in the "New template" field

Actual Results:  
Visual Editor displayed a list of possible matches, containing the following templates:
 - Citar livro
 - Citar livro/doc
 - Citar livro/autor
 - Citar livro/coautores
 - Citar livro/dados
 - Citar livro/coautores/doc
 - Citar livro/ref
Of these, only the first one is supposed to be used in the articles. The others are just auxiliary templates (meta-templates), used by the main one. But new users do not know that, and get confused by this!

Expected Results:  
Visual Editor should provide only the options which are useful.

Reproducible: Didn't try

A possible solution for this would be the addition of a new property to the template data, to allow template authors to document certain templates with "auxiliary: true". Then Visual Editor could filter its current search results to show only templates satisfying "auxiliary: false".

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


Navigation
Links