Go to file
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
.phan Use HookHandlers for UserMerge hook 2023-08-16 09:44:30 +02:00
db_patches Use actor table in AbuseFilter 2023-03-22 14:01:29 +01:00
i18n Show notification when editor links to a blocked domain 2023-10-31 15:32:02 +00:00
includes Show notification when editor links to a blocked domain 2023-10-31 15:32:02 +00:00
maintenance Use namespaced Title 2023-08-19 19:49:36 +02:00
modules Show notification when editor links to a blocked domain 2023-10-31 15:32:02 +00:00
tests phpunit: Avoid hardcoding exact mw-parser-output class attribute 2023-10-19 19:02:21 -07:00
.eslintrc.json build: Update linters 2022-03-17 22:19:08 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Merge "Use FauxRequest::setUpload in AbuseFilterUploadTestTrait::doUpload" 2021-05-15 12:22:10 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add Bengali translation of BlockedExternalDomains 2023-08-19 11:05:33 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Update to the latest wikimedia/equivset package 2023-08-29 17:15:25 +01:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Show notification when editor links to a blocked domain 2023-10-31 15:32:02 +00:00
Gruntfile.js build: Update linters 2022-03-17 22:19:08 +00:00
package-lock.json Update selenium and related dependencies 2023-07-12 19:22:45 +00:00
package.json Update selenium and related dependencies 2023-07-12 19:22:45 +00:00