EditPage: Fix display of errors with multiple messages
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 17 Aug 2016 05:59:14 +0000 (22:59 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 17 Aug 2016 05:59:14 +0000 (22:59 -0700)
commit9b530b2b5a5008765ab0a226df8b5ec5f7182bd2
tree97b940cf3265bc22cdc494edd20f67e1caa681b3
parent634e8444a4062d9b9aafbc67e6622ff75ee40c96
EditPage: Fix display of errors with multiple messages

If a status object returns failure with multiple messages (like in
Content::prepareSave()), then previously the first list item would have
a raw asterisk in front of it instead of being a list item because the
<div> tag was on the same line. Adding a newline before the status
object's wikitext will ensure that the first item is interpreted as part
of the list.

Change-Id: If42b3e745f1bd57c6e7964c8e297dab2bf742d4c
includes/EditPage.php