getCaptcha(); $captchaIndex = $captcha->storeCaptcha( $info ); $result = $this->getResult(); $result->addValue( null, $this->getModuleName(), [ 'index' => $captchaIndex ] ); return true; } public function getAllowedParams() { return []; } /** * @see ApiBase::getExamplesMessages() * @return array */ protected function getExamplesMessages() { return [ 'action=fancycaptchareload' => 'apihelp-fancycaptchareload-example-1', ]; } }