Use parseAsBlock() instead of parse() to show the error message in OutputPage::showEr...
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 6 Oct 2012 15:28:09 +0000 (17:28 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 6 Oct 2012 15:28:09 +0000 (17:28 +0200)
commit9c7557faef1b849695745e6f2884c820faffbc56
treeebdd595b222b6cf669d8c261c303a30d80531e82
parent736db146cc110fa0d49d10390de226249740e16a
Use parseAsBlock() instead of parse() to show the error message in OutputPage::showErrorPage()

When a message name is passed, addWikiMsgArray() is used, so it adds a <p> arround the
result. Do the same when a Message object is passed to that method.

Change-Id: Ie97ad9a921ae3fc6d327531b0ace64b6a08e1fa2
includes/OutputPage.php