From 8ee0ef4a7c5208b0d2e1a1bfd081c4a6c2cdcb77 Mon Sep 17 00:00:00 2001 From: Dereckson Date: Wed, 29 Jan 2014 16:30:40 +0100 Subject: [PATCH] Improve OutputPage::showErrorPage method documentation - Added the most usual case of call - Fixed the incoherence between -Object and -Obj Change-Id: I81207f4ef46a43529974e3ada194f2948a1e9017 --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1