From 9bae2600f1127f127ac24b9029931ad9ae6baac5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 25 Mar 2010 13:10:26 +0000 Subject: [PATCH] This is PHP, updating docs to reflect that --- includes/Message.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Message.php b/includes/Message.php index 859b9d400d..7fedb9b29a 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -11,11 +11,11 @@ * * Examples: * Fetching a message text for interface message - * $button = Xml::button( Message::key( 'submit' ).text() ); + * $button = Xml::button( Message::key( 'submit' )->text() ); * Messages can have parameters: - * Message::key( 'welcome-to' )->param( $wgSitename ).text(); // {{GRAMMAR}} and friends work correctly + * Message::key( 'welcome-to' )->param( $wgSitename )->text(); // {{GRAMMAR}} and friends work correctly * Message::key( 'are-friends' )->params( $user, $friend ); - * Message::key( 'bad-message' )->rawParam( '' ).escaped() + * Message::key( 'bad-message' )->rawParam( '' )->escaped() * Sometimes the message text ends up in the database, so content language is needed. * Message::key( 'file-log' )->params( $user, $filename )->inContentLanguage()->text() * Checking if message exists: -- 2.20.1