Author: aik.bold
Description:
- start new page creation
- enter page content, e.g. "abc" (no line breaks here)
- press "Preview" button
- notice, that empty line was added to text
Since 2 empty lines in wikitext are converted to line break (<br>) that brokes down article formatting when we save 2 templates and use them in one page like this:
test1
{{Template:Sample1}}
test2
{{Template:Sample2}}
test1 and test2 sould be in 1 line, but thay are not.
Problem could be fixed in EditPage.php in 1215 line (in 1.11.0 version of MediaWiki) by moving "</textarea>" up by 1 line, so empty line would not be added at each page edit.
Version: 1.11.x
Severity: enhancement