API: Split description messages into summary + additional text

See MediaWiki core patch I778bab2b

Change-Id: I7ed2ddd3d4df7db75872db3820189aa061fd4500
This commit is contained in:
Brad Jorsch 2017-05-26 15:36:35 -04:00
parent fcdaf31e85
commit 30d8e92ba9
2 changed files with 4 additions and 0 deletions

View file

@ -32,11 +32,13 @@
"gadgets-validate-notset": "The property <code>$1</code> is not set.", "gadgets-validate-notset": "The property <code>$1</code> is not set.",
"gadgets-validate-wrongtype": "The property <code>$1</code> must be of type <code>$2</code> instead of <code>$3</code>.", "gadgets-validate-wrongtype": "The property <code>$1</code> must be of type <code>$2</code> instead of <code>$3</code>.",
"apihelp-query+gadgetcategories-description": "Returns a list of gadget categories.", "apihelp-query+gadgetcategories-description": "Returns a list of gadget categories.",
"apihelp-query+gadgetcategories-summary": "Returns a list of gadget categories.",
"apihelp-query+gadgetcategories-param-prop": "What gadget category information to get:\n;name:Internal category name.\n;title:Category title.\n;members:Number of gadgets in category.", "apihelp-query+gadgetcategories-param-prop": "What gadget category information to get:\n;name:Internal category name.\n;title:Category title.\n;members:Number of gadgets in category.",
"apihelp-query+gadgetcategories-param-names": "Names of categories to retrieve.", "apihelp-query+gadgetcategories-param-names": "Names of categories to retrieve.",
"apihelp-query+gadgetcategories-example-1": "Get a list of existing gadget categories", "apihelp-query+gadgetcategories-example-1": "Get a list of existing gadget categories",
"apihelp-query+gadgetcategories-example-2": "Get all information about categories named \"foo\" and \"bar\"", "apihelp-query+gadgetcategories-example-2": "Get all information about categories named \"foo\" and \"bar\"",
"apihelp-query+gadgets-description": "Returns a list of gadgets used on this wiki.", "apihelp-query+gadgets-description": "Returns a list of gadgets used on this wiki.",
"apihelp-query+gadgets-summary": "Returns a list of gadgets used on this wiki.",
"apihelp-query+gadgets-param-prop": "What gadget information to get:\n;id:Internal gadget ID.\n;metadata:The gadget metadata.\n;desc:Gadget description transformed into HTML (can be slow, use only if really needed).", "apihelp-query+gadgets-param-prop": "What gadget information to get:\n;id:Internal gadget ID.\n;metadata:The gadget metadata.\n;desc:Gadget description transformed into HTML (can be slow, use only if really needed).",
"apihelp-query+gadgets-param-categories": "Gadgets from what categories to retrieve.", "apihelp-query+gadgets-param-categories": "Gadgets from what categories to retrieve.",
"apihelp-query+gadgets-param-ids": "IDs of gadgets to retrieve.", "apihelp-query+gadgets-param-ids": "IDs of gadgets to retrieve.",

View file

@ -44,11 +44,13 @@
"gadgets-validate-notset": "Error message shown if a a required property is not set. $1 is the name of the property, e.g. settings.rights .", "gadgets-validate-notset": "Error message shown if a a required property is not set. $1 is the name of the property, e.g. settings.rights .",
"gadgets-validate-wrongtype": "Error message shown if a property is set to the wrong type. * $1 is the name of the property, e.g. settings.rights or module.messages[3].\n* $2 is the type that this property is expected to have\n* $3 is the type it actually had", "gadgets-validate-wrongtype": "Error message shown if a property is set to the wrong type. * $1 is the name of the property, e.g. settings.rights or module.messages[3].\n* $2 is the type that this property is expected to have\n* $3 is the type it actually had",
"apihelp-query+gadgetcategories-description": "{{doc-apihelp-description|query+gadgetcategories}}", "apihelp-query+gadgetcategories-description": "{{doc-apihelp-description|query+gadgetcategories}}",
"apihelp-query+gadgetcategories-summary": "{{doc-apihelp-summary|query+gadgetcategories}}",
"apihelp-query+gadgetcategories-param-prop": "{{doc-apihelp-param|query+gadgetcategories|prop}}", "apihelp-query+gadgetcategories-param-prop": "{{doc-apihelp-param|query+gadgetcategories|prop}}",
"apihelp-query+gadgetcategories-param-names": "{{doc-apihelp-param|query+gadgetcategories|names}}", "apihelp-query+gadgetcategories-param-names": "{{doc-apihelp-param|query+gadgetcategories|names}}",
"apihelp-query+gadgetcategories-example-1": "{{doc-apihelp-example|query+gadgetcategories}}", "apihelp-query+gadgetcategories-example-1": "{{doc-apihelp-example|query+gadgetcategories}}",
"apihelp-query+gadgetcategories-example-2": "{{doc-apihelp-example|query+gadgetcategories}}", "apihelp-query+gadgetcategories-example-2": "{{doc-apihelp-example|query+gadgetcategories}}",
"apihelp-query+gadgets-description": "{{doc-apihelp-description|query+gadgets}}", "apihelp-query+gadgets-description": "{{doc-apihelp-description|query+gadgets}}",
"apihelp-query+gadgets-summary": "{{doc-apihelp-summary|query+gadgets}}",
"apihelp-query+gadgets-param-prop": "{{doc-apihelp-param|query+gadgets|prop}}", "apihelp-query+gadgets-param-prop": "{{doc-apihelp-param|query+gadgets|prop}}",
"apihelp-query+gadgets-param-categories": "{{doc-apihelp-param|query+gadgets|categories}}", "apihelp-query+gadgets-param-categories": "{{doc-apihelp-param|query+gadgets|categories}}",
"apihelp-query+gadgets-param-ids": "{{doc-apihelp-param|query+gadgets|ids}}", "apihelp-query+gadgets-param-ids": "{{doc-apihelp-param|query+gadgets|ids}}",