From: Leszek Manicki Date: Mon, 20 Jun 2016 12:11:04 +0000 (+0200) Subject: Fix documentation of the dir parameter of list=watchlistraw API action X-Git-Tag: 1.31.0-rc.0~6571^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=fc0fcc02a300042673de9ab092d293eec4b00ce1;p=lhc%2Fweb%2Fwiklou.git Fix documentation of the dir parameter of list=watchlistraw API action Bug: T138213 Change-Id: I26709b03dd9b64c6f1231f3bfc3064c63c8f0c21 --- diff --git a/includes/api/ApiQueryWatchlistRaw.php b/includes/api/ApiQueryWatchlistRaw.php index 742f8f54ba..64b97fe828 100644 --- a/includes/api/ApiQueryWatchlistRaw.php +++ b/includes/api/ApiQueryWatchlistRaw.php @@ -193,7 +193,6 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase { 'ascending', 'descending' ], - ApiBase::PARAM_HELP_MSG => 'api-help-param-direction', ], 'fromtitle' => [ ApiBase::PARAM_TYPE => 'string' diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index cfd0c74f7a..5124955353 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -1291,6 +1291,7 @@ "apihelp-query+watchlistraw-param-show": "Only list items that meet these criteria.", "apihelp-query+watchlistraw-param-owner": "Used along with $1token to access a different user's watchlist.", "apihelp-query+watchlistraw-param-token": "A security token (available in the user's [[Special:Preferences#mw-prefsection-watchlist|preferences]]) to allow access to another user's watchlist.", + "apihelp-query+watchlistraw-param-dir": "The direction in which to list.", "apihelp-query+watchlistraw-param-fromtitle": "Title (with namespace prefix) to begin enumerating from.", "apihelp-query+watchlistraw-param-totitle": "Title (with namespace prefix) to stop enumerating at.", "apihelp-query+watchlistraw-example-simple": "List pages on the current user's watchlist.", diff --git a/includes/api/i18n/qqq.json b/includes/api/i18n/qqq.json index 44769cf43a..ed9952ff1d 100644 --- a/includes/api/i18n/qqq.json +++ b/includes/api/i18n/qqq.json @@ -1204,6 +1204,7 @@ "apihelp-query+watchlistraw-param-show": "{{doc-apihelp-param|query+watchlistraw|show}}", "apihelp-query+watchlistraw-param-owner": "{{doc-apihelp-param|query+watchlistraw|owner}}", "apihelp-query+watchlistraw-param-token": "{{doc-apihelp-param|query+watchlistraw|token}}", + "apihelp-query+watchlistraw-param-dir": "{{doc-apihelp-param|query+watchlistraw|dir}}", "apihelp-query+watchlistraw-param-fromtitle": "{{doc-apihelp-param|query+watchlistraw|fromtitle}}", "apihelp-query+watchlistraw-param-totitle": "{{doc-apihelp-param|query+watchlistraw|totitle}}", "apihelp-query+watchlistraw-example-simple": "{{doc-apihelp-example|query+watchlistraw}}",