Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php |
— | — | @@ -310,7 +310,8 @@ |
311 | 311 | |
312 | 312 | public function getPossibleErrors() { |
313 | 313 | return array_merge( parent::getPossibleErrors(), array( |
314 | | - array( 'code' => 'notitle', 'info' => 'The cmtitle parameter is required' ), |
| 314 | + array( 'code' => 'cmmissingparam', 'info' => 'One of the parameters title, pageid is required' ), |
| 315 | + array( 'code' => 'cminvalidparammix', 'info' => 'The parameters title, pageid can not be used together' ), |
315 | 316 | array( 'code' => 'invalidcategory', 'info' => 'The category name you entered is not valid' ), |
316 | 317 | array( 'code' => 'badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), |
317 | 318 | array( 'nosuchpageid', 'pageid' ), |