API: Use message-per-value for apihelp-query+watchlistraw-param-prop
Use message-per-value for message apihelp-query+watchlistraw-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: Ibdcf7b76a58b28a403053cc6683ac1539722ceda
This commit is contained in:
parent
d861c6593a
commit
bb5be14562
3 changed files with 6 additions and 3 deletions
|
|
@ -171,7 +171,8 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase {
|
|||
ApiBase::PARAM_ISMULTI => true,
|
||||
ApiBase::PARAM_TYPE => array(
|
||||
'changed',
|
||||
)
|
||||
),
|
||||
ApiBase::PARAM_HELP_MSG_PER_VALUE => array(),
|
||||
),
|
||||
'show' => array(
|
||||
ApiBase::PARAM_ISMULTI => true,
|
||||
|
|
|
|||
|
|
@ -1026,7 +1026,8 @@
|
|||
"apihelp-query+watchlistraw-description": "Get all pages on the current user's watchlist.",
|
||||
"apihelp-query+watchlistraw-param-namespace": "Only list pages in the given namespaces.",
|
||||
"apihelp-query+watchlistraw-param-limit": "How many total results to return per request.",
|
||||
"apihelp-query+watchlistraw-param-prop": "Which additional properties to get:\n;changed:Adds timestamp of when the user was last notified about the edit.",
|
||||
"apihelp-query+watchlistraw-param-prop": "Which additional properties to get:",
|
||||
"apihelp-query+watchlistraw-paramvalue-prop-changed": "Adds timestamp of when the user was last notified about the edit.",
|
||||
"apihelp-query+watchlistraw-param-show": "Only list items that meet these criteria.",
|
||||
"apihelp-query+watchlistraw-param-owner": "Used along with $1token to access a different user's watchlist.",
|
||||
"apihelp-query+watchlistraw-param-token": "A security token (available in the user's [[Special:Preferences#mw-prefsection-watchlist|preferences]]) to allow access to another user's watchlist.",
|
||||
|
|
|
|||
|
|
@ -945,7 +945,8 @@
|
|||
"apihelp-query+watchlistraw-description": "{{doc-apihelp-description|query+watchlistraw}}",
|
||||
"apihelp-query+watchlistraw-param-namespace": "{{doc-apihelp-param|query+watchlistraw|namespace}}",
|
||||
"apihelp-query+watchlistraw-param-limit": "{{doc-apihelp-param|query+watchlistraw|limit}}",
|
||||
"apihelp-query+watchlistraw-param-prop": "{{doc-apihelp-param|query+watchlistraw|prop}}",
|
||||
"apihelp-query+watchlistraw-param-prop": "{{doc-apihelp-param|query+watchlistraw|prop|paramvalues=1}}",
|
||||
"apihelp-query+watchlistraw-paramvalue-prop-changed": "{{doc-apihelp-paramvalue|query+watchlistraw|prop|changed}}",
|
||||
"apihelp-query+watchlistraw-param-show": "{{doc-apihelp-param|query+watchlistraw|show}}",
|
||||
"apihelp-query+watchlistraw-param-owner": "{{doc-apihelp-param|query+watchlistraw|owner}}",
|
||||
"apihelp-query+watchlistraw-param-token": "{{doc-apihelp-param|query+watchlistraw|token}}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue