Intention:
I wanted to help a new user to find a template to add a reference to an article.
Steps to Reproduce:
- 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
- I instructed the user to open the transclusion interface (More > Transclusion)
- 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".
Version: unspecified
Severity: enhancement