From 0fe95a7d55bb2270b3b5435798c76c484e4b46ce Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Thu, 11 Jan 2018 18:02:04 +0100 Subject: [PATCH] Improve PARAM_HELP_MSG_PER_VALUE documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Per-value documentation is only generated if this option is specified, even if it is only set to an empty array (i. e., when using the default key for all values). Attempt to make this more clear. Change-Id: I844df226271aadb1f06b3cc00ba32cc6c06ec76a --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 83d2ae9bea..4d7ef289cc 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -155,6 +155,7 @@ abstract class ApiBase extends ContextSource { * ((string|array|Message)[]) When PARAM_TYPE is an array, this is an array * mapping those values to $msg for ApiBase::makeMessage(). Any value not * having a mapping will use apihelp-{$path}-paramvalue-{$param}-{$value}. + * Specify an empty array to use the default message key for all values. * @since 1.25 */ const PARAM_HELP_MSG_PER_VALUE = 14; -- 2.20.1