mediawiki-extensions-AbuseF.../includes
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
..
Api Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
ChangeTags Migrate to IReadableDatabase::newSelectQueryBuilder 2024-04-30 20:45:51 +02:00
Consequences Use StatusValue::getMessages() instead of deprecated methods 2024-05-28 21:04:59 +00:00
EditBox Use namespaced classes 2024-06-12 20:01:35 +02:00
Filter Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
Hooks ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display 2024-06-26 16:07:40 +00:00
LogFormatter Use namespaced classes 2024-06-12 20:01:35 +02:00
Pager Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
Parser Use namespaced classes 2024-06-12 20:01:35 +02:00
Special Merge "Add protected variable view permission checks" 2024-06-13 13:18:14 +00:00
VariableGenerator Merge "Add user_unnamed_ip variable" 2024-05-23 18:10:52 +00:00
Variables Fix variable descriptions showing raw "($1)" 2024-06-16 22:11:08 +02:00
View Merge "Use expression builder in AbuseFilterView::buildTestConditions" 2024-06-17 19:55:35 +00:00
Watcher Migrate to IDatabase::newUpdateQueryBuilder 2024-04-15 23:07:44 +02:00
AbuseFilter.php Use actor table in AbuseFilter 2023-03-22 14:01:29 +01:00
AbuseFilterChangesList.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterPermissionManager.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
AbuseFilterPreAuthenticationProvider.php Use namespaced classes 2023-12-10 23:03:12 +01:00
AbuseFilterServices.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
AbuseLogger.php Migrate to IDatabase::newInsertQueryBuilder/newDeleteQueryBuilder 2024-04-02 21:15:40 +02:00
AbuseLoggerFactory.php Use namespaced classes 2023-12-10 23:03:12 +01:00
ActionSpecifier.php Use ActionSpecifier to load the IP address 2022-12-17 22:52:24 +01:00
BlockAutopromoteStore.php Use namespaced classes 2023-12-10 23:03:12 +01:00
BlockedDomainFilter.php Use namespaced classes 2024-06-12 20:01:35 +02:00
BlockedDomainStorage.php Use namespaced classes 2024-06-12 20:01:35 +02:00
CentralDBManager.php Fix various typos and documentation issues 2023-09-04 12:55:17 +02:00
CentralDBNotAvailableException.php
EchoNotifier.php Use namespaced Title 2023-08-19 19:49:36 +02:00
EditRevUpdater.php Migrate to IDatabase::newUpdateQueryBuilder 2024-04-15 23:07:44 +02:00
EditStashCache.php Add new variable for last edit time 2024-04-10 23:12:45 +00:00
EmergencyCache.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
FilterCompare.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
FilterImporter.php Use namespaced classes 2024-06-12 20:01:35 +02:00
FilterLookup.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
FilterProfiler.php build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
FilterRunner.php Use namespaced classes 2023-12-10 23:03:12 +01:00
FilterRunnerFactory.php Use namespaced classes 2023-12-10 23:03:12 +01:00
FilterStore.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
FilterUser.php Don't attempt to steal or create the FilterUser in CheckUserHandler 2024-01-31 19:32:52 +00:00
FilterUtils.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
FilterValidator.php Use namespaced classes 2024-06-12 20:01:35 +02:00
GlobalNameUtils.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
InvalidImportDataException.php
KeywordsManager.php Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
RunnerData.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
ServiceWiring.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
SpecsFormatter.php Use namespaced classes 2024-06-12 20:01:35 +02:00
TableDiffFormatterFullContext.php Use the new Wikimedia\Diff namespace 2023-06-29 11:56:13 +10:00
TextExtractor.php Use namespaced classes 2024-06-12 20:01:35 +02:00
ThrottleFilterPresentationModel.php Use namespaced classes 2024-06-12 20:01:35 +02:00