Last modified: 2012-07-15 16:31:36 UTC
I searched the following to no avail, target, new window, _blank, _parent, _top, _self.
I'm looking for a way to enter a link so that it opens in a new window. The application uses this
functionality and I think the user should have the option to add this type of link also, please
keep reading as this can be implemented while not forcing the user to use a new window.
We use bugzilla as our bug tracking software and a link to has been placed on the help page.
1. The user has navigated to help and found the link to bugzilla and want to enter a bug describing
the page they were on just previous to going to help.
2. They click on the link to enter the bug, but can't remember what they saw on the page they are
trying to describe.
3. They click the back button to get to the page they were going to enter a bug on, see the problem
but now they don't have the facility to enter the bug, so they go back to help and click on the
bugzilla link again, they have a very bad short term memory, they live in Canada! so they forget
what the problem was again, and so on, and so on, and so on.
(These people are not aware of the right click option, actually tested a couple of users on this by
asking them to open the link in a new window, one clicked the normal link clicked back and then
tried the right click, the other just sat there confused and said I don't know how)
Possible Use Case with new window functionality
1. User finds a bug, opens help, clicks an icon next to the bugzilla link.
2. User clicks back to the page they were on while bugzilla opens in a new window.
3. User enters bug with problem in plain view (icon indicates opening in a new window.)
I would suggest another attribute that when entered inserts a duplicate link beside the regular one
and around an icon so no one is forced to open it in a new window but the option is available to
them. By doing it this way you can iliminate the unwanted effect of forcing new windows on the user
while still providing the functionality. Further, i would like the same functionality given for
naming the window.
[[^_winname|http://wikipedia.org/link link name]]
I'm a newbie so this code may not be right. but it should look like this in the end.
<a href="http://wikipedia.org/link">linkname</a><a href="http://wikipedia.org/link"
Or some other more suitable icon.
Really forcing a user browser to open a new window is annoying.
Actually the external links got a different color and even a
little icon, user can then choose how he wants the link opened.
Will not be implemented.
*** Bug 6990 has been marked as a duplicate of this bug. ***
*** Bug 8418 has been marked as a duplicate of this bug. ***
*** Bug 3213 has been marked as a duplicate of this bug. ***
There seems to be a lot demand for this functionality, why not add an optional parameter $wgExternalLinkTarget = '_blank';
See patch for Linker.php
Created attachment 3356 [details]
Patch to enhance opening of external links
Harms usability. Reclosing.
(In reply to comment #5)
> There seems to be a lot demand for this functionality, why not add an optional
> parameter $wgExternalLinkTarget = '_blank';
> See patch for Linker.php