Wikimedia Developer Support

Extension: ConfirmEdit - How to use in special page

How can I use ConfirmEdits ReCaptcha in my own special page?

I tried adding

$html .= $captcha->getFormInformation()['html'];
$html .= $captcha->getFormInformation()['headitems'][0];

inside a HTML form element. The Captcha then appears on my page but it does not matter if I click it or not. The form will still be interpreted.

I tried using


but that method is protected. For some hours I do not know how to make the captcha work on my own special page.

Thank you.