Tags:
create new tag
view all tags

Feature Proposal: Open External Links in New Window or Tab

Motivation

Navigation within a TWiki site is naturally page by page, which builds a "page visit breadcrumb". When you click on an external link you navigate away from TWiki. There is no easy way to go back to TWiki unless you hit the back button (possibly several times).

Description and Documentation

By default, external links defined simply by URL or by double-square bracket rule should open up a new window or browser tab.

Show trailing external link icon on external links.

New configure settings:

  • {Links}{ExternalLinksInNewWindow} to open external links in new Window or tab, default is on.
  • {Links}{ExternalLinksIcon} to show trailing external links icon, default is on. Possibly with option to show link type icon, such as pdf, doc, etc?

Examples

Impact

WhatDoesItAffect: Usability

Implementation

Add attribute target="_blank" to external links of [[url][label]], [[url]], http:// and https:// URLs.

-- Contributors: PeterThoeny - 2012-12-06

Discussion

This feature is accepted by release meeting, JerusalemReleaseMeeting2012x12x07, with addition to show a configurable external link icon trailing external links. Proposal updated accordingly.

-- PeterThoeny - 2012-12-07

This is now done in SVN trunk. Test cases, unit tests and TWikiEditingShorthands are updated as well.

-- PeterThoeny - 2012-12-10

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2012-12-10 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.