public function getAllowedParams()
 {
     return array('postId' => array(ApiBase::PARAM_REQUIRED => true), 'prev_revision' => array(ApiBase::PARAM_REQUIRED => true), 'content' => array(ApiBase::PARAM_REQUIRED => true), 'format' => array(ApiBase::PARAM_REQUIRED => true, ApiBase::PARAM_DFLT => 'wikitext', ApiBase::PARAM_TYPE => array('html', 'wikitext'))) + parent::getAllowedParams();
 }
 public function getAllowedParams()
 {
     return array('moderationState' => array(ApiBase::PARAM_REQUIRED => true, ApiBase::PARAM_TYPE => array(AbstractRevision::MODERATED_LOCKED, 'unlock', 'close', 'reopen')), 'reason' => array(ApiBase::PARAM_REQUIRED => true, ApiBase::PARAM_TYPE => 'string')) + parent::getAllowedParams();
 }
 public function getAllowedParams()
 {
     return array('prev_revision' => array(ApiBase::PARAM_REQUIRED => true), 'content' => array(ApiBase::PARAM_REQUIRED => true)) + parent::getAllowedParams();
 }
 public function getAllowedParams()
 {
     return array('moderationState' => array(ApiBase::PARAM_REQUIRED => true, ApiBase::PARAM_TYPE => $this->getModerationStates()), 'reason' => array(ApiBase::PARAM_REQUIRED => true), 'postId' => array(ApiBase::PARAM_REQUIRED => true)) + parent::getAllowedParams();
 }