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.
Amire80 created this task.Aug 18 2014, 4:11 AM
Stryn added a subscriber: Stryn.Dec 3 2014, 5:23 PM

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).

He7d3r updated the task description. (Show Details)Feb 29 2016, 12:07 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptFeb 29 2016, 12:07 AM