diff --git a/api/ApiEchoMarkRead.php b/api/ApiEchoMarkRead.php index cde577b31..1a70f236b 100644 --- a/api/ApiEchoMarkRead.php +++ b/api/ApiEchoMarkRead.php @@ -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' ); } diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php index ab31415ec..20c47c7ae 100644 --- a/api/ApiEchoNotifications.php +++ b/api/ApiEchoNotifications.php @@ -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' ); diff --git a/i18n/en.json b/i18n/en.json index e21ad8215..0056e5bbd 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -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.",