From: Brad Jorsch Date: Tue, 16 Sep 2014 18:04:16 +0000 (-0400) Subject: Update wfMessage doc X-Git-Tag: 1.31.0-rc.0~13984 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=0011f2a77fdc509a3809023eb294cec32960359d;p=lhc%2Fweb%2Fwiklou.git Update wfMessage doc The Message class constructor has long supported passing an array of keys for fallback messages, and wfMessage passes the $keys parameter through unchanged. And since this is already in use in core, we may as well document it. Change-Id: I8f7f9ade87e855300650b2e7e31b9303daa96ac5 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 20398a59ef..490df24690 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1407,7 +1407,7 @@ function wfGetLangObj( $langcode = false ) { * * This function replaces all old wfMsg* functions. * - * @param string $key Message key + * @param string|string[] $key Message key, or array of keys * @param mixed $params,... Normal message parameters * @return Message *