Fix documentation of the dir parameter of list=watchlistraw API action
authorLeszek Manicki <leszek.manicki@wikimedia.de>
Mon, 20 Jun 2016 12:11:04 +0000 (14:11 +0200)
committerLeszek Manicki <leszek.manicki@wikimedia.de>
Mon, 20 Jun 2016 12:12:59 +0000 (14:12 +0200)
Bug: T138213
Change-Id: I26709b03dd9b64c6f1231f3bfc3064c63c8f0c21

includes/api/ApiQueryWatchlistRaw.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json

index 742f8f5..64b97fe 100644 (file)
@@ -193,7 +193,6 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase {
                                        'ascending',
                                        'descending'
                                ],
-                               ApiBase::PARAM_HELP_MSG => 'api-help-param-direction',
                        ],
                        'fromtitle' => [
                                ApiBase::PARAM_TYPE => 'string'
index cfd0c74..5124955 100644 (file)
        "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.",
index 44769cf..ed9952f 100644 (file)
        "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}}",