Snippets/Open external links in new window

LocalSettings.php
Since MediaWiki 1.14 it is sufficient to only define the following parameter: $wgExternalLinkTarget = '_blank';