return array(
'user' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'gettoken' => false,
return array(
'title' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'section' => null,
'text' => null,
return array(
'target' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'subject' => null,
'text' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'ccme' => false,
),
'to' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'reason' => null,
'token' => null,
'rcid' => array(
ApiBase::PARAM_TYPE => 'integer',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
);
}
return array(
'title' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'protections' => array(
ApiBase::PARAM_ISMULTI => true,
- ApiBase::PARAM_REQUIRED => 1,
+ ApiBase::PARAM_REQUIRED => true,
),
'expiry' => array(
ApiBase::PARAM_ISMULTI => true,
return array(
'titles' => array(
ApiBase::PARAM_ISMULTI => true,
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
)
);
}
$retval = array(
'title' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'continue' => null,
'namespace' => array(
return array(
'title' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'user' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'summary' => null,
return array(
'title' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'token' => null,
'reason' => '',
$params = array(
'filename' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'comment' => array(
ApiBase::PARAM_DFLT => ''
return array (
'user' => array(
ApiBase::PARAM_TYPE => 'string',
- ApiBase::PARAM_REQUIRED => 1
+ ApiBase::PARAM_REQUIRED => true
),
'add' => array(
ApiBase::PARAM_TYPE => User::getAllGroups(),