Hi All
I am newbie in wikimedia come from Taiwan.
Poor English sorry.
**List of steps to reproduce** (step by step, including full links if applicable):
- Retrieved both public and secret key from the Google "ReCaptcha admin panel".
- Create a mediawiki environment with ConfirmEdit/reCAPTCHA as below
```
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
$wgCaptchaClass = 'ReCaptchaNoCaptcha';
$wgCaptchaTriggers['edit'] = true;
$wgCaptchaTriggers['create'] = true;
$wgCaptchaTriggers['createaccount'] = true;
$wgReCaptchaSiteKey = '6LdIiS....2i7G30gRHXE';
$wgReCaptchaSecretKey = '6LdIiSYTAAAA....kUABd';
$wgMainCacheType = CACHE_ANYTHING; <-- Detail in other information as below...
```
- Open wiki page, and enter "Create account" page
- Click button of "Create your account" and got error (Error message mean: "Incorrect or missing CAPTCHA.")
{F34529588}
**What happens?**:
In "Create account" page, reCAPTCHA can't be displayed in red square (Button "建立您的帳號 = Create your account").
{F34529581}
**What should have happened instead?**:
Users can see reCAPTCHA and can create account normally.
**Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc**:
OS: FreeBSD 13.0-Release amd64, Mediawiki: 1.35.2, PHP: 7.4.19
- About $wgMainCacheType, because I using "memcached", therefore assign "CACHE_MEMCACHED" for test, got same failed.
- For installation confirm, therefore tested "ConfirmEdit/QuestyCaptcha" as below
-- Configure in Localsetting.php as below
```
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);
$wgCaptchaQuestions = [
'What is the capital of France?' => 'Paris',
'What is the capital of Spain' => 'MADRID', // Answers are case insensitive
];
```
-- Open wiki page, and enter "Create account" page, "QuestyCaptcha" can be displayed as below.
{F34529618}
-- Click button of "建立您的帳號 = Create your account" and Create account successful.
- Because I using Extension:ContactPage and wish cooperate with ConfirmEdit, therefore tested and result as below
-- ConfirmEdit/reCAPTCHA
--- reCAPTCHA can't be displayed in red square
{F34529622}
--- Click button of "寄出 = Send" and got fail as below (Error test mean: Fatal exception of type: "RumtimeExpection").
{F34529624}
-- ConfirmEdit/QuestyCaptcha
---- QuestyCaptcha can be displayed in red square
{F34529630}
---- Click button of "寄出 = Send" and sent successful.