[MediaWiki-l] How to insert internal link that opens new tab?

Al Johnson alj62888 at yahoo.com
Mon Jan 7 23:40:04 UTC 2013


Thanks Leo.  This works fine and this is probably the quickest I've ever gotten anything done with MW! /^)




________________________________
 From: Leonard Wallentin <leo.wallentin at gmail.com>
To: Al Johnson <alj62888 at yahoo.com>; MediaWiki announcements and site admin list <mediawiki-l at lists.wikimedia.org> 
Cc: Geri <gerx03 at gmail.com> 
Sent: Monday, January 7, 2013 4:06 PM
Subject: Re: [MediaWiki-l] How to insert internal link that opens new tab?
 

You could add the target attribute to the extension http://m.mediawiki.org/wiki/Extension:LinkAttributes (or I can do it later this week, if it helps).
/Leo
Den 7 jan 2013 23.24 skrev "Al Johnson" <alj62888 at yahoo.com>:

Yeah, I saw that.  How hard would it be to write a little tag extension where I call whatever wiki code is usually used to parse "[[... ]]" to get an HTML anchor and add the "target='_blank'" myself?
>
>Thanks,
>al
>
>
>
>
>________________________________
> From: Geri <gerx03 at gmail.com>
>To: Al Johnson <alj62888 at yahoo.com>; MediaWiki announcements and site admin list <mediawiki-l at lists.wikimedia.org>
>Sent: Monday, January 7, 2013 3:16 PM
>Subject: Re: [MediaWiki-l] How to insert internal link that opens new tab?
>
>Hello,
>
>The easiest way to do it is
>http://www.mediawiki.org/wiki/Manual:$wgExternalLinkTarget
>Not the best solution though as it modifies every external URL.
>
>Geri
>
>2013.01.07. 23:01:55 dátumon Al Johnson <alj62888 at yahoo.com> írta:
>
>> Hello,
>>
>> I have a form with a link to the regular search page.  The user needs to click the link and then later return to the form page to finish filling it out.  I would rather them use a separate tab for the search rather than using the browsers 'Back' button which resets some of the form fields.
>>
>> Thanks,
>> Al
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l at lists.wikimedia.org
>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>


More information about the MediaWiki-l mailing list