Page MenuHomePhabricator

Consider allowing sequences (like {{ [[ etc.) in wikitext mode
Closed, DuplicatePublic8 Estimate Story Points

Description

@Sadads suggests using {{ as a shortcut to open the template dialog. Having some shortcut would reduce the need to stop typing, go to the Insert menu, and find the correct item.

On the other hand, if someone's typing a short and familiar template such as {{fact}}, then it could be annoying to have the dialog appear. This may require more consultation or finding alternatives.

Event Timeline

Restricted Application added a project: VisualEditor. · View Herald TranscriptDec 22 2016, 5:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I thought we already had this?

@AlexMonk-WMF for the 2017 wikitext editor. I can think of a number of circumstances, where my typing in the the wikitext editor, has created a bad template, slow down or interfering with the accuracy of my contributions.

It might be worth making it a user option for the wikitext editor.

We have this shortcut – currently, unadvertised, and subject to removal without warning – in VisualEditor's visual mode but not in its wikitext mode.

IMHO a keyboard shortcut (aka ve.ui.Trigger) for the template dialog would be better. Ctrl-Shift-T (T for Template) seems still to be free.

Jdforrester-WMF renamed this task from Consider using {{ as a shortcut to open the template dialog to Consider allowing sequences (like {{ [[ etc.) in wikitext mode.Jan 5 2017, 7:27 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.

Possibly duplicate to T148001

Good spot, thank you.