Quiddity has uploaded a new change for review.

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

Change subject: API: Fixed documentation for hasmg parameter
......................................................................

API: Fixed documentation for hasmg parameter

The API returns a plural "messages" key.

Bug: T105120
Change-Id: I385609b6b24ca767a0b0d26cfaec30ed423c3460
---
M includes/api/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/00/225000/1

diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json
index f972a42..ab513a2 100644
--- a/includes/api/i18n/en.json
+++ b/includes/api/i18n/en.json
@@ -980,7 +980,7 @@
        "apihelp-query+usercontribs-example-ipprefix": "Show contributions from 
all IP addresses with prefix <kbd>192.0.2.</kbd>.",
 
        "apihelp-query+userinfo-description": "Get information about the 
current user.",
-       "apihelp-query+userinfo-param-prop": "Which pieces of information to 
include:\n;blockinfo:Tags if the current user is blocked, by whom, and for what 
reason.\n;hasmsg:Adds a tag <samp>message</samp> if the current user has 
pending messages.\n;groups:Lists all the groups the current user belongs 
to.\n;implicitgroups:Lists all the groups the current user is automatically a 
member of.\n;rights:Lists all the rights the current user 
has.\n;changeablegroups:Lists the groups the current user can add to and remove 
from.\n;options:Lists all preferences the current user has 
set.\n;preferencestoken:<span class=\"apihelp-deprecated\">Deprecated.</span> 
Get a token to change current user's preferences.\n;editcount:Adds the current 
user's edit count.\n;ratelimits:Lists all rate limits applying to the current 
user.\n;realname:Adds the user's real name.\n;email:Adds the user's email 
address and email authentication date.\n;acceptlang:Echoes the 
<code>Accept-Language</code> header sent by the client in a structured 
format.\n;registrationdate:Adds the user's registration 
date.\n;unreadcount:Adds the count of unread pages on the user's watchlist 
(maximum $1; returns <samp>$2</samp> if more).",
+       "apihelp-query+userinfo-param-prop": "Which pieces of information to 
include:\n;blockinfo:Tags if the current user is blocked, by whom, and for what 
reason.\n;hasmsg:Adds a tag <samp>messages</samp> if the current user has 
pending messages.\n;groups:Lists all the groups the current user belongs 
to.\n;implicitgroups:Lists all the groups the current user is automatically a 
member of.\n;rights:Lists all the rights the current user 
has.\n;changeablegroups:Lists the groups the current user can add to and remove 
from.\n;options:Lists all preferences the current user has 
set.\n;preferencestoken:<span class=\"apihelp-deprecated\">Deprecated.</span> 
Get a token to change current user's preferences.\n;editcount:Adds the current 
user's edit count.\n;ratelimits:Lists all rate limits applying to the current 
user.\n;realname:Adds the user's real name.\n;email:Adds the user's email 
address and email authentication date.\n;acceptlang:Echoes the 
<code>Accept-Language</code> header sent by the client in a structured 
format.\n;registrationdate:Adds the user's registration 
date.\n;unreadcount:Adds the count of unread pages on the user's watchlist 
(maximum $1; returns <samp>$2</samp> if more).",
        "apihelp-query+userinfo-example-simple": "Get information about the 
current user.",
        "apihelp-query+userinfo-example-data": "Get additional information 
about the current user.",
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I385609b6b24ca767a0b0d26cfaec30ed423c3460
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Quiddity <nwil...@wikimedia.org>

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

Reply via email to