I would suggest using http://www.mediawiki.org/wiki/Manual:$wgExternalLinkTarget on Moodle Docs to open external links in a new tab/window.
See target="_blank" for background information.
Frank
If you happen to like perverse behaviour like, that, please configure your web browser appropriately. Please do not change Moodle docs to behave in this obnoxious way.