From: S Page Date: Tue, 2 Jun 2015 07:52:18 +0000 (-0700) Subject: Improve doc of maxage and s-maxage API parameters X-Git-Tag: 1.31.0-rc.0~11213^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=51ec19ebb35548489f12a3b04417b1c484507c7f;p=lhc%2Fweb%2Fwiklou.git Improve doc of maxage and s-maxage API parameters They set HTTP cache control headers. i18-only change. Change-Id: I9eefdd51d6937388326ceb7b6baa72288221c2f7 --- diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index d905dea3c8..f3faf4897e 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -10,8 +10,8 @@ "apihelp-main-param-action": "Which action to perform.", "apihelp-main-param-format": "The format of the output.", "apihelp-main-param-maxlag": "Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code maxlag is returned with a message like Waiting for $host: $lag seconds lagged.
See [[mw:Manual:Maxlag_parameter|Manual: Maxlag parameter]] for more information.", - "apihelp-main-param-smaxage": "Set the s-maxage header to this many seconds. Errors are never cached.", - "apihelp-main-param-maxage": "Set the max-age header to this many seconds. Errors are never cached.", + "apihelp-main-param-smaxage": "Set the s-maxage HTTP cache control header to this many seconds. Errors are never cached.", + "apihelp-main-param-maxage": "Set the max-age HTTP cache control header to this many seconds. Errors are never cached.", "apihelp-main-param-assert": "Verify the user is logged in if set to user, or has the bot userright if bot.", "apihelp-main-param-requestid": "Any value given here will be included in the response. May be used to distinguish requests.", "apihelp-main-param-servedby": "Include the hostname that served the request in the results.",