Inter-Wiki Link Rules (or Links to other Sites)

This topic lists all aliases needed to map inter-wiki links to external wikis/sites.

Whenever you write ExternalSite:Page it will be linked automatically to the page on the external site. The link points to the URL corresponding to the ExternalSite alias below, concatenated to the Page you choose. Example: Type Wiki:RecentChanges to get Wiki:RecentChanges, the RecentChanges page at the original Wiki site.

ALERT! Note: This topic needs to be visible for all users, or the plugin will not work correctly.

Inter-wiki links are defined in the tables below.
  • Each entry must be 3 or 4 columns of format:
    | External site alias | URL | Tooltip help text | Optional INTERLINKFORMAT override |.
  • The Alias must start with an upper case letter and may contain alphanumeric characters.
  • The URL and Tooltip Text may contain optional $page formatting tokens; the token gets expanded to the page name.
  • The URL may contain foswiki macros. They are expanded when the URL is rendered.
  • The Tooltip Text must not contain:
    • any HTML tags (including <nop> escape code),
    • any internal WikiWord links
    • any external links.
    • Hint: Escape 'WikiWords' and '$page'.
    • If the link format override is provided, it overrides the INTERWIKIPLUGIN_INTERLINKFORMAT for just that entry.

HELP Note that Interwiki links do not properly resolve when part of an INCLUDEd topic.

HELP For Foswiki and TWiki sites, both the web and the topic have to be specified: Foswiki:Webname/SomePage Foswiki:Extensions/InterwikiPlugin or Foswiki:Extensions.InterwikiPlugin

HELP For links with paranthesis you will need to write as [[Wikipedia:Fork_(software_development)]], or quoted, as Wikipedia:'Fork_(software_development)' as we assume that the closing paranthesis is not part of the link.

The optional INTERLINKFORMAT override can incorporate the following tokens which are expanded when the link is generated:
Token Meaning
$site Site alias
$page Page (part after colon)
$url Site URL (might contain $page)
$label Equal to $site:$page
$tooltip Tooltip message

See InterwikiPlugin for more details on specifiying the INTERLINKFORMAT.

Rather than adding your own inter-wiki links to this topic, the recommended approach is to create a topic in your Main Web, for example Main.InterWikis. You can then set the INTERWIKIPLUGIN_RULESTOPIC preference setting in Main.SitePreferences as follows:


Any inter-wikis you add to Main.InterWikis will then be available in the same way that the inter-wikis from here are. If you create a rule in Main.InterWikis which has the same alias as a rule in this topic, the rule from Main.InterWikis will take preference.

Alias: URL: Tooltip Text:
Acronym$page&String=exact Look up '$page' on Acronym Finder site
CPAN CPAN perl repository
Dictionary Look up '$page' at
Google Search for '$page' on Google
Group!search/ News group '$page' at
ISBN;ac=qr;isbn= Book with ISBN $page
News Search for '$page' on Google news
RFC$page.html IETF RFC #$page

Alias: URL: Tooltip Text: Format override:
Advogato$page.html '$page' on Advogato community site (with peer review)
C2find Search '$page' on the original 'WikiWikiWeb' site
DokuWiki '$page' on Doku Wiki site
Foswiki '$page' on
Foswikitask '$page' on the 'Foswiki' issue tracking site
FoxWiki '$page' on Fox Wiki site
HammondWiki '$page' on 'HammondWiki' site
MeatBall '$page' on 'MeatBall' site, a 'UseMod' Wiki variant
MoinMoin '$page' on 'MoinMoin' Wiki site
PPR '$page' on the original 'PortlandPatternRepository' site
Squeak '$page' on Squeak Smalltalk Wiki
TWiki '$page' on
TWikibug '$page' on the TWiki issue tracking site
TWikirev revision $page of TWiki svn
UseMod '$page' on 'UseMod' Wiki site
Wiki '$page' on the original 'WikiWikiWeb' site
Wikipedia '$page' on 'Wikipedia'
ZWiki '$page' on Zope's Wiki

Note: This topic configures the InterwikiPlugin.

Related Topics: Plugins, UserDocumentationCategory, AdminDocumentationCategory

Topic revision: r1 - 09 Feb 2017, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback