Proposal
Provide a Special page ("Special:ExternalLink") that warns users they are leaving the wiki's domain when clicking on an external link.
Context
Currently, you can create a link on a wiki page to an external domain. A user can click on this link and be taken to an external domain without necessarily realizing what's happening.
It would be useful to be able to remind users that they are leaving the site, to be careful with which links they follow. This would be similar to what Google Meet does for some external domain URLs, and what LinkedIn does.
If we wanted to be less disruptive, we could use the external links table to only show the Special:ExternalLink warning page for domains that are rarely used. Or we could use CommunityConfiguration to allow communities to safelist domains that don't need a warning.
We could also only show the warning for links that are not in content namespaces.
From a technical implementation, we'd probably need some JavaScript that scans page content for external links, and rewrites the URLs to take the user to Special:ExternalLink?url=https://somesite.test?123
Examples
| Discord | |
| Airbnb |

