protected function action($settings = array(), $defaults = array()) { if ($this->backend->info->is_available_meta($this->modulename)) { $this->action = parent::action($settings, $defaults); } else { throw new ApibotException_InternalError("API module " . $this->modulename . " is unknown at this wiki"); } }