Manual talk:$wgExternalLinkTarget

I inserted that stuff, but it doesn't work: web links still open the same (own) window... huwi
 * It does work, but you have to edit every page that has an external link and then save it. Then it will update those pages to open the links in a new window.
 * Well, you can use "&action=purge" in place of "&action=edit" to get the same effect. Basically, the "wrong" version of each page will still be cached in the database until you do one or the other. - IMSoP 23:38, 2 December 2005 (UTC)

Isn't it possible to use a variable so that one can choose whether or not to openb a new window ?

how to USE this mod
does this mean we're supposed to include the target=_blank into the External Link tag on the link we put in a document? or will the mod make it automatically open up in an external window?

-d

still not works on Version 1.5.4
i used this hack on an earlier version -> no probs, but now, after an update to 1.5.4 my wiki opens every external link in the same window / tab, although i "re-saved" the artikel and cleared the browser-cache. Anyone know this problem and solved it already?

This work with Mediawiki 1.5.5
This work with Mediawiki 1.5.5

You must edit include/Linker.php

RaZor Edge

opening windows optionally
I use 1.5.5. It seems that this is an all or nothing. It would be more useful to be able to choose which links opens in a new window.Sohailhussain

This work with Mediawiki 1.5.6
This work with Mediawiki 1.5.6

Make sure you edit and then save all pages that have external links... for them to open in a new window.

Sidebar?
I can't seem to make this work on the sidebar in v1.6.3. Any ideas?

Extending wiki syntax
The described method isn't really a good way to solve the problem of opening external links in a new window, because you only have the choice of opening all or none external links in a new window. Who wants this? I'll prefer a solution where you can choose whether the link has a target attribut or not. Can anybody give me a hint, how to expand the wiki syntax for example like this: [external link with target=_new]. This should be treated like any other external link, except that it has the additional target attribute. --Netsurfer 18:04, 12 September 2006 (UTC)

Is there a way open images in a new window?
Raimund 14:33, 13 September 2006 (UTC)

open links in new window, when in navigation bar?
If anyone knows how to make it so that links in the navigation could open in new windows, I'd appreciate it :)

SoftDux 11:32, 9 March 2007 (UTC)

Version for Mediawiki 1.9.2
I have tried setting this up for v 1.9.2 of mediawiki and managed to get this to work by substituting the | for a ~ in the code. This was because in tables the $link $text and $pos were being passed as [ UNIQ65e2e5ba2208a5b0-nowiki-00000009-QINU_new][] all working fine. --Markw21 10:47, 13 April 2007 (UTC)