Go to file
Kosta Harlan b93543ef00 ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display
Why:

- The previous attempt to integrate AbuseFilter with ConfirmEdit set
  a flag on the request object
  (I110a5f5321649dcf85993a0c209ab70b9886057c) didn't work in WMF
  production because in WMF, we load ConfirmEdit first, followed by
  AbuseFilter. Therefore any flag set in an AbuseFilter hook is ignored
  by ConfirmEdit

What:

- Remove implementation of ConfirmEditTriggersCaptchaHook, as this does
  not work when AbuseFilter is loaded after ConfirmEdit.
- Repurpose onConfirmEditTriggersCaptcha to handle non-edit actions only
- Implement the EditFilterMergedContent hook and call SimpleCaptcha's
  public confirmEditMerged method if CaptchaConsequence has specified
  that a CAPTCHA should be displayed, and if the CAPTCHA has not already
  been solved

Soft-Depends-On: Idc47bdae8007da938f31e1c0f33e9be4813f41d7
Bug: T20110
Change-Id: I7dd3a7c41606dcf5123518c2d3d0f4355f5edfd3
2024-06-26 16:07:40 +00:00
.phan phan: Update config to load ConfirmEdit 2024-05-05 11:02:07 +03:00
db_patches Drop af_user(_text) and afh_user(_text) fields 2024-06-10 18:48:21 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-06-26 09:20:32 +02:00
includes ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display 2024-06-26 16:07:40 +00:00
maintenance Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
modules build: Updating npm dependencies 2024-06-04 00:33:18 +00:00
tests ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display 2024-06-26 16:07:40 +00:00
.eslintignore
.eslintrc.json
.gitignore
.gitreview
.phpcs.xml
.stylelintrc.json
AbuseFilter.alias.php
CODE_OF_CONDUCT.md
composer.json
COPYING
extension.json ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display 2024-06-26 16:07:40 +00:00
Gruntfile.js
package-lock.json build: Updating npm dependencies 2024-06-16 16:32:36 +00:00
package.json build: Updating npm dependencies 2024-06-16 16:32:36 +00:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2024-05-10 14:25:14 +02:00