[Mediawiki-l] internal link in a new window

Jack Eapen C jackec at suntecgroup.com
Wed Jul 18 12:57:41 UTC 2007


Go to includes/Linker.php. there's a function
getInternalLinkAttributes()
Add the target="_blannk" attribute to that function.

Similarly you can do for external links and interwiki links. (see the
functions just above that).

But it seems opening links in new windows is against the w3c standards?
:( 

Regards,
 
Jack
----------------------------------------------------------------
"If you can find something everyone agrees on, it's wrong"

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of empirium
Sent: Wednesday, July 18, 2007 6:24 PM
To: mediawiki-l at lists.wikimedia.org
Subject: [Mediawiki-l] internal link in a new window

it is possible in mediawiki open internal link in a new window?
thanks in advance
luk

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You



More information about the MediaWiki-l mailing list