From: quiddity Date: Thu, 16 Jul 2015 02:58:58 +0000 (-0500) Subject: API: Fixed documentation for hasmg parameter X-Git-Tag: 1.31.0-rc.0~10756^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=c656c3d7d4c34dfb8832c632df2daa9867bd90a2;p=lhc%2Fweb%2Fwiklou.git API: Fixed documentation for hasmg parameter The API returns a plural "messages" key. Bug: T105120 Change-Id: I385609b6b24ca767a0b0d26cfaec30ed423c3460 --- diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index f972a42ca8..ab513a21a2 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 192.0.2..", "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 message 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:Deprecated. 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 Accept-Language 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 $2 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 messages 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:Deprecated. 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 Accept-Language 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 $2 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.",