Last modified: 2014-11-17 18:46:18 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 T53824, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51824 - VisualEditor: Display name of transclusions as a tool-tip when selected
VisualEditor: Display name of transclusions as a tool-tip when selected
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-22 17:00 UTC by Chris McKenna
Modified: 2014-11-17 18:46 UTC (History)
7 users (show)

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


Attachments

Description Chris McKenna 2013-07-22 17:00:15 UTC
At en.wp a user comments:
"The tooltip with a "puzzle" icon that appears when clicking on a template should contain the name of the template used. This would allow readers to be aware of which template they're about to change and would make the Templates interface [[self-documenting]], teaching by example the existence of the most common templates.

For example, the next screenshot would contain the word "Chembox" besides the puzzle icon:"

Screenshot: [[File:VisualEditor - Template editing 1.png]]
Comment 1 James Forrester 2013-11-01 05:14:11 UTC
What would this do when multiple templates (or other transclusions) are used in the scope of one transclusion block, like the succession boxes?
Comment 2 Chris McKenna 2013-11-01 23:38:10 UTC
(In reply to comment #1)
> What would this do when multiple templates (or other transclusions) are used
> in
> the scope of one transclusion block, like the succession boxes?

I can think of three logical options:

1. The name of the first template and some indication (perhaps an asterisk?) that there are multiple translcusions in the block, e.g. "s-start *"

2. a list of all the items in the transclusion, e.g. for [[Alan Williams]]:

s-start
s-par
s-bef
s-ttl
s-aft
s-end

Note that above, each template is listed only once, even for multiple occurrences, showing repeats is possible also.

3. The names of the first and last templates with an indication (probably an ellipsis) that there are omitted elements, e.g. "s-start ... s-end" or
s-start
...
s-end

The horizontal format I'd guess might be easiest to program but would only work for templates with short names.

In either 1 or 3 there could be a way to click to see the templates that are omitted. However I'm not sure how useful that would be, so my suggestion would be to just leave passive provision for it to be added later without difficulty should it be requested.
Comment 3 Alex Monk 2014-11-17 02:20:33 UTC
Don't we have this now? What to do about this bug?
Comment 4 James Forrester 2014-11-17 18:46:18 UTC
(In reply to Alex Monk from comment #3)
> Don't we have this now? What to do about this bug?

Yes, fixed by Trevor's new context menus as of 6 months or so ago.

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


Navigation
Links