Topic on Talk:Talk pages project/Replying/Flow

Adding templates in New Discussion tool Visual mode

3
Pelagic (talkcontribs)

I like it that the Visual mode in New Discussion handles templates, wikitables, pre, etc. that were created in Source mode (which can't be used in Reply Tool until there’s markup for multi-line list items ... well, templates could, if there was some way to flag in TemplateData which ones are single-line safe).

I noticed that some VE magic text like ‘[[‘ and ‘<pre>‘ activates the corresponding edit cards, but ‘{{‘ doesn’t. Instead I get the message ‘wikitext markup detected ... switch to source mode’.

Patrik L. (talkcontribs)

Hmm, I noticed one interest thing. Go here and copy one of the templates (listed in the table after "Indikátory"). Then try to reply to any comment and paste copied template in VE. It works until I switch to a source mode and back to VE.

Whatamidoing (WMF) (talkcontribs)

The {{ key sequence (the devs assure me that a key sequence is importantly different from a keyboard shortcut) used to work, but was disabled when they turned off template insertion in the visual mode. I expect the key sequence to be re-enabled whenever the RFC about multi-line comments is finally handled.

BTW, if you two are interested in that RFC, then the draft is at User:PPelberg (WMF)/sandbox. I'll ask @PPelberg (WMF) about it the next time we talk. Maybe we can at least get the draft moved to the mainspace here, so that people can start putting it on their watchlists.

Reply to "Adding templates in New Discussion tool Visual mode"