[Mediawiki-l] a few issues

Rowan Collins rowan.collins at gmail.com
Tue Oct 12 20:04:27 UTC 2004


On Tue, 12 Oct 2004 08:36:15 -0500, Brinkle, Jason
<jason.brinkle at aiminvestments.com> wrote:

> 3.      Is there wiki code to be able to open links in a new window
> (external links)?

No, this has generally been considered to be a Bad Idea, since this
should be up to the user and their browser-interface, rather than the
website they are viewing. (I believe shift-click, ctrl-click and the
middle mouse button allow users of some browsers to open a link in
either a new window or a new tab).

If you really really want to hack the code and insert one, you need to
look at includes/Skin.php: the function that generates ext. links is
"makeExternalLink()", or you could add it in
"getExternalLinkAttributes()"

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list