jenkins-bot has submitted this change and it was merged. Change subject: Update wfMessage doc ......................................................................
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 --- M includes/GlobalFunctions.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Tim Starling: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 20398a5..490df24 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1407,7 +1407,7 @@ * * 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 * -- To view, visit https://gerrit.wikimedia.org/r/160782 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8f7f9ade87e855300650b2e7e31b9303daa96ac5 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Anomie <[email protected]> Gerrit-Reviewer: Tim Starling <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
