From: Niklas Laxström Date: Thu, 8 Jul 2010 09:03:47 +0000 (+0000) Subject: Update syntax examples a bit X-Git-Tag: 1.31.0-rc.0~36214 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=f3511bbc699ab91cd4bc0d0a7c34b3885fcf5437;p=lhc%2Fweb%2Fwiklou.git Update syntax examples a bit --- diff --git a/includes/Message.php b/includes/Message.php index c4ac5ecf67..0f6437a38c 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -35,14 +35,14 @@ * * Use full parsing. * wfMsgExt( 'key', array( 'parseinline' ), 'apple' ); - * === Message::key( 'key' )->params( 'apple' )->parse(); + * === Message::key( 'key', 'apple' )->parse(); * * Parseinline is used because it is more useful when pre-building html. * In normal use it is better to use OutputPage::(add|wrap)WikiMsg. * * Places where html cannot be used. {{-transformation is done. * wfMsgExt( 'key', array( 'parsemag' ), 'apple', 'pear' ); - * === Message::key( 'key' )->params( 'apple', 'pear' )->text(); + * === Message::key( 'key', 'apple', 'pear' )->text(); * * * Shortcut for escaping the message too, similar to wfMsgHTML, but