mediawiki-extensions-AbuseF.../includes/Hooks
MusikAnimal 7db0e05aeb Show notification when editor links to a blocked domain
This leverages the new BlockedExternalDomains system that is now part of
AbuseFilter. It notifies editors in realtime if a link they add is
blocked. See https://w.wiki/7ZsF for more information.

BlockedExternalDomains is slated to have its own API tantamount to the
action=spamblacklist endpoint, after which case this code will need to be
updated. In the meantime, it's meant to serve as a minimal viable product
for the CWS 2023 wish <https://w.wiki/7ZsE> for wikitext users.

The new $wgAbuseFilterBlockedExternalDomainsNotification configuration
setting controls the availability of this feature.

A similar feature for VisaulEditor is tracked at T276857

Bug: T347435
Change-Id: I7eae55f12da9ee58be5786bfc153e549b09598e7
2023-10-31 15:32:02 +00:00
..
Handlers Show notification when editor links to a blocked domain 2023-10-31 15:32:02 +00:00
AbuseFilterAlterVariablesHook.php Use namespaced Title 2023-08-19 19:49:36 +02:00
AbuseFilterBuilderHook.php Move documentation from hooks.txt to hook interfaces 2021-03-31 21:50:30 +02:00
AbuseFilterComputeVariableHook.php Fix various typos and documentation issues 2023-09-04 12:55:17 +02:00
AbuseFilterContentToStringHook.php Move documentation from hooks.txt to hook interfaces 2021-03-31 21:50:30 +02:00
AbuseFilterCustomActionsHook.php Create a dedicated namespace for all consequences-related classes 2020-12-18 19:27:33 +00:00
AbuseFilterDeprecatedVariablesHook.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
AbuseFilterFilterActionHook.php Use namespaced Title 2023-08-19 19:49:36 +02:00
AbuseFilterGenerateGenericVarsHook.php Clean up line indent with mixed tabs and whitespaces 2022-07-31 16:34:07 +02:00
AbuseFilterGenerateTitleVarsHook.php Use namespaced Title 2023-08-19 19:49:36 +02:00
AbuseFilterGenerateUserVarsHook.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
AbuseFilterGenerateVarsForRecentChangeHook.php Move documentation from hooks.txt to hook interfaces 2021-03-31 21:50:30 +02:00
AbuseFilterGetDangerousActionsHook.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
AbuseFilterHookRunner.php Use namespaced Title 2023-08-19 19:49:36 +02:00
AbuseFilterInterceptVariableHook.php Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
AbuseFilterShouldFilterActionHook.php Use namespaced Title 2023-08-19 19:49:36 +02:00