[Mediawiki-l] v1.8.2 - how to have external links open in new
Wartner Carsten
c.wartner at tvzzd.de
Thu Nov 30 08:13:37 UTC 2006
Hi,
just add a line in Linker.php:
Search for
fuction getExternalLinkAttributes
and
replace
$r .= " title=\"{$link}\"";
return $r;
with
$r .= " title=\"{$link}\"";
$r .= " target=\"_blank\"";
return $r;
Greetings,
Carsten
Message: 5
Date: Wed, 29 Nov 2006 12:33:03 -0800
From: Tim Ware <tim at hyperarts.com>
Subject: [Mediawiki-l] v1.8.2 - how to have external links open in new
window?
To: MediaWiki announcements and site admin list
<mediawiki-l at Wikimedia.org>
Message-ID: <18026F01-713B-4E2D-A52C-BA27A4DF6CDE at hyperarts.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Since the upgrade from 1.7.2, external links have been opening in the
same browser window. How do I change that option?
Thanks.
Tim
......................................................... ! ............
.................................................
Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607
t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim at hyperarts.com
http://www.hyperarts.com Map
More information about the MediaWiki-l
mailing list