Merge "Add missing possible errors to ApiQueryLogEvents.php"
This commit is contained in:
commit
41820ab1a4
1 changed files with 12 additions and 6 deletions
|
|
@ -628,12 +628,18 @@ class ApiQueryLogEvents extends ApiQueryBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPossibleErrors() {
|
public function getPossibleErrors() {
|
||||||
return array_merge( parent::getPossibleErrors(), array(
|
return array_merge(
|
||||||
array( 'code' => 'param_user', 'info' => 'User name $user not found' ),
|
parent::getPossibleErrors(),
|
||||||
array( 'code' => 'param_title', 'info' => 'Bad title value \'title\'' ),
|
$this->getRequireMaxOneParameterErrorMessages(
|
||||||
array( 'code' => 'param_prefix', 'info' => 'Bad title value \'prefix\'' ),
|
array( 'title', 'prefix', 'namespace' ) ),
|
||||||
array( 'code' => 'prefixsearchdisabled', 'info' => 'Prefix search disabled in Miser Mode' ),
|
array(
|
||||||
) );
|
array( 'code' => 'param_user', 'info' => 'User name $user not found' ),
|
||||||
|
array( 'code' => 'param_title', 'info' => 'Bad title value \'title\'' ),
|
||||||
|
array( 'code' => 'param_prefix', 'info' => 'Bad title value \'prefix\'' ),
|
||||||
|
array( 'code' => 'prefixsearchdisabled',
|
||||||
|
'info' => 'Prefix search disabled in Miser Mode' ),
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getExamples() {
|
public function getExamples() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue