Anomie has uploaded a new change for review. https://gerrit.wikimedia.org/r/160782
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/82/160782/1 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: newchange Gerrit-Change-Id: I8f7f9ade87e855300650b2e7e31b9303daa96ac5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Anomie <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
