API: Split description messages into summary + additional text

See MediaWiki core patch I778bab2b

Change-Id: I4d4d480f22506f1b39ace486d5da7917a3f2a841
This commit is contained in:
Brad Jorsch 2017-05-26 15:36:34 -04:00
parent d4b50be650
commit 3386cd6cd5
2 changed files with 14 additions and 0 deletions

View file

@ -407,22 +407,28 @@
"abusefilter-group-default": "Default",
"abusefilter-http-error": "An HTTP error occurred: $1.",
"apihelp-abusefiltercheckmatch-description": "Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.\n\nvars, rcid or logid is required however only one may be used.",
"apihelp-abusefiltercheckmatch-summary": "Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.",
"apihelp-abusefiltercheckmatch-extended-description": "vars, rcid or logid is required however only one may be used.",
"apihelp-abusefiltercheckmatch-param-filter": "The full filter text to check for a match.",
"apihelp-abusefiltercheckmatch-param-vars": "JSON encoded array of variables to test against.",
"apihelp-abusefiltercheckmatch-param-rcid": "Recent change ID to check against.",
"apihelp-abusefiltercheckmatch-param-logid": "Abuse filter log ID to check against.",
"apihelp-abusefiltercheckmatch-example-1": "Test if recent change ID 15 matches a simple filter",
"apihelp-abusefilterchecksyntax-description": "Check syntax of an AbuseFilter filter.",
"apihelp-abusefilterchecksyntax-summary": "Check syntax of an AbuseFilter filter.",
"apihelp-abusefilterchecksyntax-param-filter": "The full filter text to check syntax on.",
"apihelp-abusefilterchecksyntax-example-1": "Check syntax of a valid filter",
"apihelp-abusefilterchecksyntax-example-2": "Check syntax of an invalid filter",
"apihelp-abusefilterevalexpression-description": "Evaluates an AbuseFilter expression.",
"apihelp-abusefilterevalexpression-summary": "Evaluates an AbuseFilter expression.",
"apihelp-abusefilterevalexpression-param-expression": "The expression to evaluate.",
"apihelp-abusefilterevalexpression-example-1": "Evaluate a simple expression",
"apihelp-abusefilterunblockautopromote-description": "Unblocks a user from receiving autopromotions due to an abusefilter consequence.",
"apihelp-abusefilterunblockautopromote-summary": "Unblocks a user from receiving autopromotions due to an abusefilter consequence.",
"apihelp-abusefilterunblockautopromote-param-user": "Username of the user you want to unblock.",
"apihelp-abusefilterunblockautopromote-example-1": "Remove the block on [[User:Example]]'s autopromotion",
"apihelp-query+abusefilters-description": "Show details of the abuse filters.",
"apihelp-query+abusefilters-summary": "Show details of the abuse filters.",
"apihelp-query+abusefilters-param-startid": "The filter ID to start enumerating from.",
"apihelp-query+abusefilters-param-endid": "The filter ID to stop enumerating at.",
"apihelp-query+abusefilters-param-show": "Show only filters which meet these criteria.",
@ -431,6 +437,7 @@
"apihelp-query+abusefilters-example-1": "List enabled public filters",
"apihelp-query+abusefilters-example-2": "Show some details about filters",
"apihelp-query+abuselog-description": "Show events that were caught by one of the abuse filters.",
"apihelp-query+abuselog-summary": "Show events that were caught by one of the abuse filters.",
"apihelp-query+abuselog-param-start": "The timestamp to start enumerating from.",
"apihelp-query+abuselog-param-end": "The timestamp to stop enumerating at.",
"apihelp-query+abuselog-param-user": "Show only entries done by a given user or IP address.",

View file

@ -438,22 +438,28 @@
"abusefilter-group-default": "The name for the default filter group. Most filters will be in this group.\n{{Identical|Default}}",
"abusefilter-http-error": "Error message for HTTP requests. Parameters:\n* $1 - HTTP response code.",
"apihelp-abusefiltercheckmatch-description": "{{doc-apihelp-description|abusefiltercheckmatch}}",
"apihelp-abusefiltercheckmatch-summary": "{{doc-apihelp-summary|abusefiltercheckmatch}}",
"apihelp-abusefiltercheckmatch-extended-description": "{{doc-apihelp-extended-description|abusefiltercheckmatch}}",
"apihelp-abusefiltercheckmatch-param-filter": "{{doc-apihelp-param|abusefiltercheckmatch|filter}}",
"apihelp-abusefiltercheckmatch-param-vars": "{{doc-apihelp-param|abusefiltercheckmatch|vars}}",
"apihelp-abusefiltercheckmatch-param-rcid": "{{doc-apihelp-param|abusefiltercheckmatch|rcid}}",
"apihelp-abusefiltercheckmatch-param-logid": "The \"log ID\" is the numerical identifier of an entry in the log of the abuse filter extensions. \"Check against\" means said ID is used to control a check over abuse filter functioning related to the respective log entry.\n----\n{{doc-apihelp-param|abusefiltercheckmatch|logid}}",
"apihelp-abusefiltercheckmatch-example-1": "{{doc-apihelp-example|abusefiltercheckmatch}}",
"apihelp-abusefilterchecksyntax-description": "{{doc-apihelp-description|abusefilterchecksyntax}}",
"apihelp-abusefilterchecksyntax-summary": "{{doc-apihelp-summary|abusefilterchecksyntax}}",
"apihelp-abusefilterchecksyntax-param-filter": "{{doc-apihelp-param|abusefilterchecksyntax|filter}}",
"apihelp-abusefilterchecksyntax-example-1": "{{doc-apihelp-example|abusefilterchecksyntax}}",
"apihelp-abusefilterchecksyntax-example-2": "{{doc-apihelp-example|abusefilterchecksyntax}}",
"apihelp-abusefilterevalexpression-description": "{{doc-apihelp-description|abusefilterevalexpression}}",
"apihelp-abusefilterevalexpression-summary": "{{doc-apihelp-summary|abusefilterevalexpression}}",
"apihelp-abusefilterevalexpression-param-expression": "{{doc-apihelp-param|abusefilterevalexpression|expression}}",
"apihelp-abusefilterevalexpression-example-1": "{{doc-apihelp-example|abusefilterevalexpression}}",
"apihelp-abusefilterunblockautopromote-description": "{{doc-apihelp-description|abusefilterunblockautopromote}}\n Autopromotion is an automatic system that gives rights to users when certain conditions are met.",
"apihelp-abusefilterunblockautopromote-summary": "{{doc-apihelp-summary|abusefilterunblockautopromote}}\n Autopromotion is an automatic system that gives rights to users when certain conditions are met.",
"apihelp-abusefilterunblockautopromote-param-user": "{{doc-apihelp-param|abusefilterunblockautopromote|user}}",
"apihelp-abusefilterunblockautopromote-example-1": "{{doc-apihelp-example|abusefilterunblockautopromote}}\n Autopromotion is an automatic system that gives rights to users when certain conditions are met.",
"apihelp-query+abusefilters-description": "{{doc-apihelp-description|query+abusefilters}}",
"apihelp-query+abusefilters-summary": "{{doc-apihelp-summary|query+abusefilters}}",
"apihelp-query+abusefilters-param-startid": "{{doc-apihelp-param|query+abusefilters|startid}}",
"apihelp-query+abusefilters-param-endid": "{{doc-apihelp-param|query+abusefilters|endid}}",
"apihelp-query+abusefilters-param-show": "{{doc-apihelp-param|query+abusefilters|show}}",
@ -462,6 +468,7 @@
"apihelp-query+abusefilters-example-1": "{{doc-apihelp-example|query+abusefilters}}",
"apihelp-query+abusefilters-example-2": "{{doc-apihelp-example|query+abusefilters}}",
"apihelp-query+abuselog-description": "{{doc-apihelp-description|query+abuselog}}",
"apihelp-query+abuselog-summary": "{{doc-apihelp-summary|query+abuselog}}",
"apihelp-query+abuselog-param-start": "{{doc-apihelp-param|query+abuselog|start}}",
"apihelp-query+abuselog-param-end": "{{doc-apihelp-param|query+abuselog|end}}",
"apihelp-query+abuselog-param-user": "{{doc-apihelp-param|query+abuselog|user}}",