Loading...

mediawiki-l@wikimedia.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Mediawiki-l] v1.8.2 - how to have external links open in new Wartner Carsten Thu Nov 30 06:00:35 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 <[EMAIL PROTECTED]>
Subject: [Mediawiki-l] v1.8.2 - how to have external links open in new
        window?
To: MediaWiki announcements and site admin list
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
http://www.hyperarts.com Map

_______________________________________________
MediaWiki-l mailing list
[EMAIL PROTECTED]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l