From: Dereckson Date: Wed, 29 Jan 2014 15:30:40 +0000 (+0100) Subject: Improve OutputPage::showErrorPage method documentation X-Git-Tag: 1.31.0-rc.0~17102^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=8ee0ef4a7c5208b0d2e1a1bfd081c4a6c2cdcb77;p=lhc%2Fweb%2Fwiklou.git Improve OutputPage::showErrorPage method documentation - Added the most usual case of call - Fixed the incoherence between -Object and -Obj Change-Id: I81207f4ef46a43529974e3ada194f2948a1e9017 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9866e2cd2e..04792cfead 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2130,9 +2130,10 @@ class OutputPage extends ContextSource { /** * Output a standard error page * + * showErrorPage( 'titlemsg', 'pagetextmsg' ); * showErrorPage( 'titlemsg', 'pagetextmsg', array( 'param1', 'param2' ) ); * showErrorPage( 'titlemsg', $messageObject ); - * showErrorPage( $titleMessageObj, $messageObject ); + * showErrorPage( $titleMessageObject, $messageObject ); * * @param $title Mixed: message key (string) for page title, or a Message object * @param $msg Mixed: message key (string) for page text, or a Message object