From: Chad Horohoe Date: Thu, 25 Mar 2010 13:10:26 +0000 (+0000) Subject: This is PHP, updating docs to reflect that X-Git-Tag: 1.31.0-rc.0~37369 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=9bae2600f1127f127ac24b9029931ad9ae6baac5;p=lhc%2Fweb%2Fwiklou.git This is PHP, updating docs to reflect that --- 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: