mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
Merge "Remove 'uselang' parameter hack which is no longer needed"
This commit is contained in:
commit
36cd2c5ad5
|
@ -65,7 +65,6 @@ class ApiEchoMarkRead extends ApiBase {
|
|||
'token' => array(
|
||||
ApiBase::PARAM_REQUIRED => true,
|
||||
),
|
||||
'uselang' => null
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -78,7 +77,6 @@ class ApiEchoMarkRead extends ApiBase {
|
|||
'all' => "If set to true, marks all of a user's notifications as read",
|
||||
'sections' => 'A list of sections to mark as read',
|
||||
'token' => 'edit token',
|
||||
'uselang' => 'the desired language to format the output'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -250,7 +250,6 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
/** @todo Once support for MediaWiki < 1.25 is dropped, just use ApiBase::PARAM_HELP_MSG directly */
|
||||
constant( 'ApiBase::PARAM_HELP_MSG' ) ?: '' => 'api-help-param-continue',
|
||||
),
|
||||
'uselang' => null
|
||||
);
|
||||
foreach ( $sections as $section ) {
|
||||
$params[$section . 'continue'] = null;
|
||||
|
@ -276,7 +275,6 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
'continue' => 'When more results are available, use this to continue, this is used only when groupbysection is not set.',
|
||||
'alertcontinue' => 'When more alert results are available, use this to continue.',
|
||||
'messagecontinue' => 'When more message results are available, use this to continue.',
|
||||
'uselang' => 'the desired language to format the output',
|
||||
'alertunreadfirst' => 'Whether to show unread message notifications first',
|
||||
'messageunreadfirst' => 'Whether to show unread alert notifications first'
|
||||
);
|
||||
|
|
|
@ -121,7 +121,6 @@
|
|||
"apihelp-echomarkread-param-list": "A list of notification IDs to mark as read.",
|
||||
"apihelp-echomarkread-param-all": "If set, marks all of a user's notifications as read.",
|
||||
"apihelp-echomarkread-param-sections": "A list of sections to mark as read.",
|
||||
"apihelp-echomarkread-param-uselang": "The desired language to format the output.",
|
||||
"apihelp-echomarkread-example-1": "Mark notification 8 as read",
|
||||
"apihelp-echomarkread-example-2": "Mark all notifications as read",
|
||||
"apihelp-query+notifications-description": "Get notifications waiting for the current user.",
|
||||
|
@ -131,7 +130,6 @@
|
|||
"apihelp-query+notifications-param-format": "If specified, notifications will be returned formatted this way.",
|
||||
"apihelp-query+notifications-param-limit": "The maximum number of notifications to return.",
|
||||
"apihelp-query+notifications-param-index": "If specified, a list of notification IDs, in order, will be returned.",
|
||||
"apihelp-query+notifications-param-uselang": "The desired language to format the output.",
|
||||
"apihelp-query+notifications-param-alertcontinue": "When more alert results are available, use this to continue.",
|
||||
"apihelp-query+notifications-param-alertunreadfirst": "Whether to show unread message notifications first.",
|
||||
"apihelp-query+notifications-param-messagecontinue": "When more message results are available, use this to continue.",
|
||||
|
|
Loading…
Reference in a new issue