OutputPage::showErrorPage raises a notice if arguments are incoherent
authorDereckson <dereckson@espace-win.org>
Wed, 29 Jan 2014 15:31:03 +0000 (16:31 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 29 Jan 2014 16:06:01 +0000 (17:06 +0100)
commit601d65b201739764da095a44d081ae952a796d02
tree18dd296cfe7900f8daa009e5418503aa96ca6df5
parent8ee0ef4a7c5208b0d2e1a1bfd081c4a6c2cdcb77
OutputPage::showErrorPage raises a notice if arguments are incoherent

The method has the following signature:
OutputPage::showErrorPage( $title, $msg, $params = array() )

$msg can be a string or a Message object.

If it's a string, a Message object is built, with $params as parameters.
If it's a Message object, $params is ignored.

The core now triggers a notice in the case a call is made with $msg an instance
of Message object, and a (non-empty array) $params argument is given.

Change-Id: I227a416f088fc1acd6a04345ed0e24d06f967ecc
RELEASE-NOTES-1.23
includes/OutputPage.php