Manual:$wgExternalLinkTarget

Details
Set a default target for external links. Add the following entry to LocalSettings.php file in order to open links in a new window.

If the value is set to false, then no target attribute is used with external links (This behaviour is the same as ).