Page MenuHomePhabricator

Make ReCaptcha API endpoint configurable in ConfirmEdit
Closed, DuplicatePublicFeature

Description

Feature summary:
Sysop can control the ReCaptcha API endpoint via config variable. Now it is hardcoded to point to https://www.google.com/recaptcha.

In some countries and regions, people cannot access Google, which makes these users unable to pass Captcha. But www.recaptcha.net is another endpoint that can be accessed by these users.

Benefits:
We can get from this task:

  1. Better applicability (My community members here have complained about not being able to use ReCaptcha)
  2. Better reusability and maintainability (Hard-coding endpoints is a bad idea, we should get access points from one place e.g. a class or a function)