If there is more than one newline in a message that is rendered, the parser will render line 1 and the last line separately, and the middle part in a 'para'. If more lines are used, the behaviour stays the same.
Steps to reproduce:
- Create [[MediaWiki:Newarticletext]] for the following cases:
a. "1 2 3\n4 5 6"
b. "1\n2\n3\n4\n5\n6"
- Check the way this works out when editing a non-existing page
Observations:
- step 2 for a:
<*div class="mw-newarticletext">1 2 3
4 5 6<*/div>
- step 3 for b:
<*div class="mw-newarticletext">1
<*p>2
3
4
5
<*/p>
6<*/div>
Expected behaviour: In a normal content page these 2 cases will render the same (<*p>1 2 3 4 5 6<*/p>
). I expect the UI messages to render the same way.
Version: 1.20.x
Severity: normal