Manual:$wgExternalLinkTarget/pl

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

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