mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-04 04:28:30 +00:00
6f78a3ac57
Why: - forceShowCaptcha is set if another extension wants to ensure that a CAPTCHA is presented to the user. In this case, the 'captcha-edit' message is more appropriate than 'captcha-edit-fail' as 'captcha-edit-fail' implies that the user already tried and failed to solve the CAPTCHA. What: - Use 'captcha-edit' message on confirm edit hook failure if 'shouldForceShowCaptcha' is set - ... but use 'captcha-edit-fail' if the user submitted an attempt. Note that the updated message only works in the source editor, not in VisualEditor or DiscussionTools Depends-On: I5a0698d84932a474800a68dba9b76b3433b19290 Bug: T20110 Change-Id: Ie13181b78b8e2903c6cc0f0f778689bcc8b8ce2e |
||
---|---|---|
.. | ||
resources | ||
SimpleCaptcha.php |