Merge "Remove 'uselang' parameter hack which is no longer needed"

This commit is contained in:
jenkins-bot 2014-11-05 21:53:30 +00:00 committed by Gerrit Code Review
commit 36cd2c5ad5
3 changed files with 0 additions and 6 deletions

View file

@ -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'
);
}

View file

@ -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'
);

View file

@ -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.",