mediawiki-extensions-AbuseF.../includes
Func 351f9f02bc Handle EditFilterMergedContent hook properly to break hook chains and display error message
Extensions are supposed to return false to break hook chains when failed, which can avoid unnecessary call of later handlers in other extensions and work around with problems caused by difference betwen multiple triggers.

On mediawiki version 1.36 and before, just returning false in this hook can't display error message by default.
Set $status->value manually still to provide backward compatibility.

Bug: T280312
Change-Id: I78888247063c726ebcd18ba54a21d6c7891481fc
2021-04-24 02:02:01 +00:00
..
Api Api: inject AbuseFilterPermissionManager where needed 2021-03-28 15:22:59 +00:00
ChangeTags Move ChangeTags stuff to separate namespace 2020-11-27 15:13:34 +00:00
Consequences Simplify AbuseFilterBlockTest 2021-03-05 14:18:01 +00:00
EditBox Create distinct builders for plain and ace editor 2021-03-08 09:44:58 +00:00
Filter Use Filter objects in ViewDiff 2021-01-17 00:47:33 +00:00
Hooks Make default wgAbuseFilterAflFilterMigrationStage SCHEMA_COMPAT_NEW 2021-04-12 15:29:00 -07:00
LogFormatter Add a service to format filter specs 2020-12-19 14:22:08 +01:00
Pager Apply proper visibility checks for recentchanges queries 2021-03-11 11:52:48 +01:00
Parser Align arg counting between the parsers 2021-02-20 14:33:56 +00:00
Special Use Language::userTimeAndDate 2021-03-09 00:54:03 +01:00
VariableGenerator Replace RecentChange::getPerformer with RecentChange::getPerformerIdentity 2021-03-15 16:57:40 +02:00
Variables LazyVariableComputer: update parseNonEditWikitext documentation 2021-03-24 17:32:31 +00:00
View Clean up AbuseFilterViewRevert 2021-04-02 19:29:12 +02:00
Watcher Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
AbuseFilter.php Update userCanViewRev to use Authority 2021-04-07 13:55:10 +02:00
AbuseFilterChangesList.php SECURITY: Avoid info leaks in ApiAbuseFilterCheckMatch 2021-03-09 15:41:31 -06:00
AbuseFilterHooks.php Handle EditFilterMergedContent hook properly to break hook chains and display error message 2021-04-24 02:02:01 +00:00
AbuseFilterPermissionManager.php Create a new method for authorizing access to test tools 2021-02-20 17:54:35 +01:00
AbuseFilterPreAuthenticationProvider.php Move remaining classes to own namespace 2021-01-04 12:11:58 +01:00
AbuseFilterServices.php Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
AbuseLogger.php Use updated CheckUser Hooks class 2021-02-11 19:27:06 +00:00
AbuseLoggerFactory.php Introduce an EditRevUpdater service 2021-01-27 00:24:39 +01:00
BlockAutopromoteStore.php Improve coverage for several classes 2021-01-16 15:01:40 +00:00
CentralDBManager.php Add a FilterLookup service 2020-11-18 01:17:47 +00:00
CentralDBNotAvailableException.php Add a service to retrieve the central DB 2020-10-31 12:32:46 +00:00
EchoNotifier.php Move special page classes to own namespace 2021-01-02 10:54:13 +01:00
EditRevUpdater.php Introduce an EditRevUpdater service 2021-01-27 00:24:39 +01:00
EditStashCache.php Improve test coverage metrics 2021-02-21 09:59:52 +01:00
EmergencyCache.php Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
FilterCompare.php Create a dedicated namespace for all consequences-related classes 2020-12-18 19:27:33 +00:00
FilterImporter.php Create a dedicated namespace for all consequences-related classes 2020-12-18 19:27:33 +00:00
FilterLookup.php Bump cache key version of FilterLookup::getAllActiveFiltersInGroup 2021-01-17 23:55:11 +01:00
FilterProfiler.php Make FilterProfiler independent of DeferredUpdate 2021-02-28 12:03:05 +01:00
FilterRunner.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
FilterRunnerFactory.php Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
FilterStore.php Reject filters with invalid groups 2021-02-27 16:01:09 +00:00
FilterUser.php Add a service to retrieve the filter user 2020-10-26 14:06:53 +01:00
FilterValidator.php Reject filters with invalid groups 2021-02-27 16:01:09 +00:00
GlobalNameUtils.php Improve code coverage 2020-12-19 16:28:34 +01:00
InvalidImportDataException.php Adjust code coverage 2020-11-19 22:40:26 +00:00
KeywordsManager.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
RunnerData.php Do not serialize RunnerData to array in FilterRunner 2021-02-12 14:03:50 +01:00
ServiceWiring.php Replace RecentChange::getPerformer with RecentChange::getPerformerIdentity 2021-03-15 16:57:40 +02:00
SpecsFormatter.php Use Filter objects in ViewDiff 2021-01-17 00:47:33 +00:00
TableDiffFormatterFullContext.php Move remaining classes to own namespace 2021-01-04 12:11:58 +01:00
TextExtractor.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
ThrottleFilterPresentationModel.php Notify of a throttled filter 2020-12-19 10:31:29 +01:00