Nothing Special   »   [go: up one dir, main page]

Page MenuHomePhabricator

When I meta-click on a template, let me open the Template: page in another tab
Closed, DeclinedPublic

Description

As an editor working at a complex wiki (e.g., the English Wikipedia), I encounter many complicated and unfamiliar templates. Before I try to edit them, I want to look at the template page and read the documentation. In VisualEditor's visual editing mode, I want to be able to control-click or Command–click on the template to open the Template: page in a new browser tab.

Suggested by User:Afernand74 at https://www.mediawiki.org/wiki/Topic:Unqy31uqpjwva13c

Event Timeline

Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald Transcript

There is a link to the template page inside the template dialog. I don't think opening the template page on meta click would be necessarily expected, especially as there may be links inside the template that the user might think they can click on.

I agree with Ed that we shouldn't make the template itself a link. But we could put a link to the template description page in the context menu, similar to the link we have now for image description pages.

image.png (980×1 px, 508 KB)

Putting a link in the context menu would probably be an adequate alternative. It feels more discoverable, too.

This is less trivial to implement because templates can be generated from multiple parts (e.g. {{start table}}, {{table row}}, [wikitext content], {{end table}} )

But we could put a link to the template description page in the context menu, similar to the link we have now for image description pages.

This was implemented recently in T328021: Provide a link to the template page from the template context item.

I don't think we need to add Ctrl-clicking as another way to do the same thing, so I'll go ahead and close this task.