Index: trunk/extensions/CheckUser/api/ApiQueryCheckUser.php |
— | — | @@ -213,11 +213,11 @@ |
214 | 214 | ApiBase::PARAM_TYPE => array( |
215 | 215 | 'userips', |
216 | 216 | 'edits', |
217 | | - 'ipusers' |
| 217 | + 'ipusers', |
218 | 218 | ) |
219 | 219 | ), |
220 | 220 | 'target' => array( |
221 | | - ApiBase::PARAM_REQUIRED => false |
| 221 | + ApiBase::PARAM_REQUIRED => true, |
222 | 222 | ), |
223 | 223 | 'reason' => null, |
224 | 224 | 'limit' => array( |
— | — | @@ -225,9 +225,9 @@ |
226 | 226 | ApiBase::PARAM_TYPE => 'limit', |
227 | 227 | ApiBase::PARAM_MIN => 1, |
228 | 228 | ApiBase::PARAM_MAX => 5000, |
229 | | - ApiBase::PARAM_MAX2 => 5000 |
| 229 | + ApiBase::PARAM_MAX2 => 5000, |
230 | 230 | ), |
231 | | - 'timecond' => null |
| 231 | + 'timecond' => null, |
232 | 232 | ); |
233 | 233 | } |
234 | 234 | |