Adding template 'unref' to the top of an article should add a new line, rather than putting {{unref}} at beginning of the existing line.
Steps to reproduce:
- https://en.wikipedia.org/wiki/Student_Peace_Prize_Secretariat?veaction=edit
- Position cursor at beginning of the text
- Click Transclusion (Insert template)
- Select template 'Unreferenced'
- Click 'add template' and 'apply changes'
Expected results:
The template should be placed as a block above the first line.
Actual results:
The text is placed to the right of the template, on the same line.
(The same problem can be seen by creating a sandbox in VE with 'Blah', and then adding {{unref}} per the steps above.)
The {{unref}} template contains a line feed. Wikitext '{{unref}}Blah' is not rendered with Blah on the same line as the template.
The VE is
- displaying the wikitext incorrectly, and
- not intelligently knowing that inserting '{{unref}}' requires the insertion of a line feed after the template.
Version: unspecified
Severity: enhancement