API: Split description messages into summary + additional text

See MediaWiki core patch I778bab2b

Change-Id: I7b3abe12102fb3ef25953f6b92cd9c8047f8dfe4
This commit is contained in:
Brad Jorsch 2017-05-26 15:36:35 -04:00
parent da7a8f3046
commit 7b170ca644
2 changed files with 6 additions and 0 deletions

View file

@ -46,15 +46,18 @@
"multi-part-template-block": "Output not from a single template",
"pageinfo-linter": "Lint errors",
"apihelp-query+linterrors-description": "Get a list of lint errors",
"apihelp-query+linterrors-summary": "Get a list of lint errors",
"apihelp-query+linterrors-param-categories": "Categories of lint errors",
"apihelp-query+linterrors-param-limit": "Number of results to query",
"apihelp-query+linterrors-param-from": "Lint ID to start querying from",
"apihelp-query+linterrors-param-namespace": "Only include lint errors from the specified namespaces",
"apihelp-query+linterrors-example-1": "Get all lint errors of the obsolete-tag category",
"apihelp-record-lint-description": "Record a lint error in the database",
"apihelp-record-lint-summary": "Record a lint error in the database",
"apihelp-record-lint-param-data": "JSON encoded data about the error",
"apihelp-record-lint-param-page": "Page title",
"apihelp-record-lint-param-revision": "Revision ID that the error was found in",
"apihelp-query+linterstats-description": "Get number of lint errors in each category",
"apihelp-query+linterstats-summary": "Get number of lint errors in each category",
"apihelp-query+linterstats-example-1": "Get number of lint errors in each category"
}

View file

@ -49,15 +49,18 @@
"multi-part-template-block": "Table cell on [[Special:LintErrors]] indicating that content block is not produced by a single template",
"pageinfo-linter": "Heading on ?action=info for a page if it has lint errors",
"apihelp-query+linterrors-description": "{{doc-apihelp-description|query+linterrors}}",
"apihelp-query+linterrors-summary": "{{doc-apihelp-summary|query+linterrors}}",
"apihelp-query+linterrors-param-categories": "{{doc-apihelp-param|query+linterrors|categories}}",
"apihelp-query+linterrors-param-limit": "{{doc-apihelp-param|query+linterrors|limit}}",
"apihelp-query+linterrors-param-from": "{{doc-apihelp-param|query+linterrors|from}}",
"apihelp-query+linterrors-param-namespace": "{{doc-apihelp-param|query+linterrors|namespace}}",
"apihelp-query+linterrors-example-1": "{{doc-apihelp-example|query+linterrors}}",
"apihelp-record-lint-description": "{{doc-apihelp-description|record-lint}}",
"apihelp-record-lint-summary": "{{doc-apihelp-summary|record-lint}}",
"apihelp-record-lint-param-data": "{{doc-apihelp-param|record-lint|data}}",
"apihelp-record-lint-param-page": "{{doc-apihelp-param|record-lint|page}}\n{{Identical|Page title}}",
"apihelp-record-lint-param-revision": "{{doc-apihelp-param|record-lint|revision}}",
"apihelp-query+linterstats-description": "{{doc-apihelp-description|query+linterstats}}",
"apihelp-query+linterstats-summary": "{{doc-apihelp-summary|query+linterstats}}",
"apihelp-query+linterstats-example-1": "{{doc-apihelp-example|query+linterstats}}"
}