mediawiki-extensions-Confir.../SimpleCaptcha
Kosta Harlan 6f78a3ac57 SimpleCaptcha: Show captcha-edit message if forceShowCaptcha is set
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
2024-07-10 09:50:26 +00:00
..
resources Convert SimpleCaptcha to OOUI 2018-12-12 11:51:38 +00:00
SimpleCaptcha.php SimpleCaptcha: Show captcha-edit message if forceShowCaptcha is set 2024-07-10 09:50:26 +00:00