From: Alexandre Emsenhuber Date: Wed, 15 Jun 2011 16:33:13 +0000 (+0000) Subject: Per Brion, follow-up r86784: doucment that wfMsg() and related also accept message... X-Git-Tag: 1.31.0-rc.0~29521 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=d9bceab09793adb66ceec3abf0630885870412bc;p=lhc%2Fweb%2Fwiklou.git Per Brion, follow-up r86784: doucment that wfMsg() and related also accept message parameters as an array in the second parameter --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 2d84b69338..24fdab1bb2 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -705,9 +705,12 @@ function wfMessageFallback( /*...*/ ) { * @param $key String: lookup key for the message, usually * defined in languages/Language.php * - * This function also takes extra optional parameters (not - * shown in the function definition), which can be used to - * insert variable text into the predefined message. + * Parameters to the message, which can be used to insert variable text into + * it, can be passed to this function in the following formats: + * - One per argument, starting at the second parameter + * - As an array in the second parameter + * These are not shown in the function definition. + * * @return String */ function wfMsg( $key ) {