API: Use message-per-value for apihelp-query+langbacklinks-param-prop
Use message-per-value for message apihelp-query+langbacklinks-param-prop to allow smaller strings for translation. Each prop in a message also will show up a new parameter on the help page without the adjust of the translation (but than in english instead of fully skip it). Change-Id: Id9486f7732b3796579f3b09cdd2641f62894cf37
This commit is contained in:
parent
d861c6593a
commit
3f3904baec
3 changed files with 7 additions and 2 deletions
|
|
@ -185,6 +185,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase {
|
|||
'lllang',
|
||||
'lltitle',
|
||||
),
|
||||
ApiBase::PARAM_HELP_MSG_PER_VALUE => array(),
|
||||
),
|
||||
'dir' => array(
|
||||
ApiBase::PARAM_DFLT => 'ascending',
|
||||
|
|
|
|||
|
|
@ -756,7 +756,9 @@
|
|||
"apihelp-query+langbacklinks-param-lang": "Language for the language link.",
|
||||
"apihelp-query+langbacklinks-param-title": "Language link to search for. Must be used with $1lang.",
|
||||
"apihelp-query+langbacklinks-param-limit": "How many total pages to return.",
|
||||
"apihelp-query+langbacklinks-param-prop": "Which properties to get:\n;lllang:Adds the language code of the language link.\n;lltitle:Adds the title of the language link.",
|
||||
"apihelp-query+langbacklinks-param-prop": "Which properties to get:",
|
||||
"apihelp-query+langbacklinks-paramvalue-prop-lllang": "Adds the language code of the language link.",
|
||||
"apihelp-query+langbacklinks-paramvalue-prop-lltitle": "Adds the title of the language link.",
|
||||
"apihelp-query+langbacklinks-param-dir": "The direction in which to list.",
|
||||
"apihelp-query+langbacklinks-example-simple": "Get pages linking to [[:fr:Test]].",
|
||||
"apihelp-query+langbacklinks-example-generator": "Get information about pages linking to [[:fr:Test]].",
|
||||
|
|
|
|||
|
|
@ -701,7 +701,9 @@
|
|||
"apihelp-query+langbacklinks-param-lang": "{{doc-apihelp-param|query+langbacklinks|lang}}",
|
||||
"apihelp-query+langbacklinks-param-title": "{{doc-apihelp-param|query+langbacklinks|title}}",
|
||||
"apihelp-query+langbacklinks-param-limit": "{{doc-apihelp-param|query+langbacklinks|limit}}",
|
||||
"apihelp-query+langbacklinks-param-prop": "{{doc-apihelp-param|query+langbacklinks|prop}}",
|
||||
"apihelp-query+langbacklinks-param-prop": "{{doc-apihelp-param|query+langbacklinks|prop|paramvalues=1}}",
|
||||
"apihelp-query+langbacklinks-paramvalue-prop-lllang": "{{doc-apihelp-param|query+langbacklinks|prop|lllang}}",
|
||||
"apihelp-query+langbacklinks-paramvalue-prop-lltitle": "{{doc-apihelp-param|query+langbacklinks|prop|lltitle}}",
|
||||
"apihelp-query+langbacklinks-param-dir": "{{doc-apihelp-param|query+langbacklinks|dir}}",
|
||||
"apihelp-query+langbacklinks-example-simple": "{{doc-apihelp-example|query+langbacklinks}}",
|
||||
"apihelp-query+langbacklinks-example-generator": "{{doc-apihelp-example|query+langbacklinks}}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue