* (T157035) "new mw.Uri()" was ignoring options when using default URI.
=== Action API changes in 1.29 ===
-* Submitting sensitive authentication request parameters to action=clientlogin,
- action=createaccount, action=linkaccount, and action=changeauthenticationdata
- in the query string is now an error. They should be submitted in the POST
- body instead.
+* Submitting sensitive authentication request parameters to action=login,
+ action=clientlogin, action=createaccount, action=linkaccount, and
+ action=changeauthenticationdata in the query string is now an error. They
+ should be submitted in the POST body instead.
* The capture option for action=resetpassword has been removed
* action=clearhasmsg now requires a POST.
* (T47843) API errors and warnings may be requested in non-English languages
return;
}
- try {
- $this->requirePostedParameters( [ 'password', 'token' ] );
- } catch ( ApiUsageException $ex ) {
- // Make this a warning for now, upgrade to an error in 1.29.
- foreach ( $ex->getStatusValue()->getErrors() as $error ) {
- $this->addDeprecation( $error, 'login-params-in-query-string' );
- }
- }
+ $this->requirePostedParameters( [ 'password', 'token' ] );
$params = $this->extractRequestParams();