https://bugzilla.wikimedia.org/show_bug.cgi?id=51334
Web browser: ---
Bug ID: 51334
Summary: Adding template should add line break
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Editing Tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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:
1. https://en.wikipedia.org/wiki/Student_Peace_Prize_Secretariat?veaction=edit
2. Position cursor at beginning of the text
3. Click Transclusion (Insert template)
4. Select template 'Unreferenced'
5. 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
1) displaying the wikitext incorrectly, and
2) not intelligently knowing that inserting '{{unref}}' requires the insertion
of a line feed after the template.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l