Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -99,8 +99,6 @@ |
100 | 100 | * (bug 28897) rvparse doesn’t seem to work with rvsection |
101 | 101 | * (bug 25734) API: possible issue with revids validation |
102 | 102 | * (bug 28002) Internal error in ApiFormatRaw::getMimeType |
103 | | -* (bug 26597) Allow toggling of persistent cookies ("remember me") in API |
104 | | - action=login |
105 | 103 | * (bug 29237) add interwiki target url attribute to api/query/interwiki |
106 | 104 | * (bug 28392) mark action=undelete×tamps as type "timestamp" |
107 | 105 | * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode) |
Index: trunk/phase3/includes/api/ApiLogin.php |
— | — | @@ -60,12 +60,9 @@ |
61 | 61 | 'wpPassword' => $params['password'], |
62 | 62 | 'wpDomain' => $params['domain'], |
63 | 63 | 'wpLoginToken' => $params['token'], |
| 64 | + 'wpRemember' => '' |
64 | 65 | ) ); |
65 | 66 | |
66 | | - if ( $params['rememberme'] ) { |
67 | | - $req['wpRemember'] = ''; |
68 | | - } |
69 | | - |
70 | 67 | // Init session if necessary |
71 | 68 | if ( session_id() == '' ) { |
72 | 69 | wfSetupSession(); |
— | — | @@ -171,10 +168,6 @@ |
172 | 169 | 'password' => null, |
173 | 170 | 'domain' => null, |
174 | 171 | 'token' => null, |
175 | | - 'rememberme' => array( |
176 | | - ApiBase::PARAM_TYPE => 'boolean', |
177 | | - ApiBase::PARAM_DFLT => true, |
178 | | - ), |
179 | 172 | ); |
180 | 173 | } |
181 | 174 | |
— | — | @@ -184,7 +177,6 @@ |
185 | 178 | 'password' => 'Password', |
186 | 179 | 'domain' => 'Domain (optional)', |
187 | 180 | 'token' => 'Login token obtained in first request', |
188 | | - 'rememberme' => 'Make the cookies persistant' |
189 | 181 | ); |
190 | 182 | } |
191 | 183 | |