WMDE-leszek has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/295240

Change subject: Fix documentation of the dir parameter of list=watchlistraw API 
action
......................................................................

Fix documentation of the dir parameter of list=watchlistraw API action

Bug: T138213
Change-Id: I26709b03dd9b64c6f1231f3bfc3064c63c8f0c21
---
M includes/api/ApiQueryWatchlistRaw.php
M includes/api/i18n/en.json
M includes/api/i18n/qqq.json
3 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/40/295240/1

diff --git a/includes/api/ApiQueryWatchlistRaw.php 
b/includes/api/ApiQueryWatchlistRaw.php
index 742f8f5..64b97fe 100644
--- a/includes/api/ApiQueryWatchlistRaw.php
+++ b/includes/api/ApiQueryWatchlistRaw.php
@@ -193,7 +193,6 @@
                                        '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 cfd0c74..5124955 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 44769cf..ed9952f 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}}",

-- 
To view, visit https://gerrit.wikimedia.org/r/295240
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26709b03dd9b64c6f1231f3bfc3064c63c8f0c21
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: WMDE-leszek <leszek.mani...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to