Page MenuHomePhabricator

VisualEditor: allow parameter per line in inserted templates
Closed, DuplicatePublic

Description

It is customary for big templates with a lot of parameters, such as infoboxes, to have each parameter written on a separate line in the wiki source code.

If I am not mistaken, VE inserts all templates in one long line.

As long as source code editing is common, VE should insert templates according to the above community practice.

How to know whether to insert one line or multiple lines? Either do it with multiple lines if there are more than x parameters, say 4, or have a parameter in template data that suggests multiline insertion.

See Also:

Details

Reference
bz69682

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz69682.

It seems that VE users still get yelled at for this (or perhaps that was rather a manifestation of T52584, because in the offending edits - example - the parameters were already present).