From 0011f2a77fdc509a3809023eb294cec32960359d Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 16 Sep 2014 14:04:16 -0400 Subject: [PATCH] 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 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- 2.20.1