From 51ec19ebb35548489f12a3b04417b1c484507c7f Mon Sep 17 00:00:00 2001 From: S Page Date: Tue, 2 Jun 2015 00:52:18 -0700 Subject: [PATCH] Improve doc of maxage and s-maxage API parameters They set HTTP cache control headers. i18-only change. Change-Id: I9eefdd51d6937388326ceb7b6baa72288221c2f7 --- includes/api/i18n/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.", -- 2.20.1