file
, ftp
, gopher
, http
, https
, irc
, mailto
, news
, nntp
and telnet
are linked automatically if preceded by whitespace or parenthesis. External links are indicated with a trailing icon, and open up in a new browser tab or window; the behavior of both can be set in configure or preferences variables. Links can be prevented with an !
exclamation point prefix.
Note: if a link is written directly as HTML (<a href="http://...">...</a>
), it is not subject to the external link conversion.
Variable | Value | Description |
---|---|---|
EXTERNALLINKSINNEWWINDOW |
on/off | Open external links in a new browser tab or window |
EXTERNALLINKSICON |
on/off | Show a trailing icon |
INTERNALLINKDOMAINS |
(see below) | Add domain names that should not be regarded as "external" |
INTERNALLINKDOMAINS
is expected to be a comma-separated list of domain names.
Each domain name entry should be any of the below: www.example.com
) - not including any of the subdomains
.example.com
) - indicating any subdomains (e.g. foo.example.com
) but not including the domain itself (example.com
)
topic:TopicName
or topic:WebName.TopicName
. The WebName defaults to the base web (%BASEWEB%) in the current context.
| *Domain* | | twiki1.example.com | | twiki2.example.com | | twiki3.example.com |
Config | Default | Description |
---|---|---|
$cfg{Links}{ExternalLinksInNewWindow} |
on | Open external links in a new browser tab or window |
$cfg{Links}{ExternalLinksIcon} |
on | Show a trailing icon |
$cfg{Links}{InternalLinkDomains} |
(unset) | Add domain names that should not be regarded as "external" |
InternalLinkDomains
. The WebName in the topic:TopicName
defaults to the system web (%SYSTEMWEB%, or "TWiki").
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiExternalLinks. |