|
< < | |
| Interwiki Plugin
The InterwikiPlugin links ExternalSite:Page text to external sites based on aliases defined in the InterWikis topic. This plugin is inspired by UseMod Wiki's inter-wiki links, http://www.usemod.com/cgi-bin/wiki.pl?InterWiki. |
| Syntax Rules
- Enter
ExternalSite:Page to create a link that points to the Page on the ExternalSite server.
|
|
> > |
- Enter
[[ExternalSite:Page][any label]] to specify a custom label.
|
| |
|
> > |
- Each entry must be of format:
| External site alias | URL | Tooltip help text | .
- Site aliases must start with an upper case letter and may contain alphanumeric letters.
- The URL and Tooltip Text may contain optional
$page variables; the variable gets expanded to the page name.
|
|
- For TWiki sites, both the web and the topic have to be specified:
TWikisite:Webname/SomePage
- TWiki:Plugins/InterwikiPlugin or TWiki:Plugins.InterwikiPlugin
|
| |
|
< < |
- Suppress tooltip help for links: (
0 or 1 , default is 0 )
|
> > |
- Inter-link format, with variables:
$site | Site alias | $page | Page (part after colon) | $url | Site URL (might contain $page) | $label | Equal to $site:$page | $tooltip | Tooltip message |
|
|
Plugin Installation Instructions |
| Plugin Info
Plugin Author: |
TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny |
|
|
< < |
|
> > |
|
|
Change History: |
<-- versions below in reverse order --> |
|
|
> > |
08 Nov 2006: |
11935 - Added css class="interwikiLink" (TWiki:Main.PeterThoeny) |
07 Nov 2006: |
11924 - Added INTERLINKFORMAT; removed redundant SUPPRESSTOOLTIP; allow @ signs in page part of interwiki link; support single digit page part (TWiki:Main.PeterThoeny) |
|
|
26 Feb 2005: |
1.008 TWiki:Main.CrawfordCurrie cleaned up code and made Dakar-ready |
25 Aug 2004: |
1.005 TWiki:Main.PeterThoeny updated InterWikis link rules (no code change) |
09 Mar 2004: |
Internal changes: Use only official TWiki::Func Plugin API; for increased speed, moved Interwiki link handling from outsidePREHandler to startRenderingHandler |
|
|
< < |
16 Feb 2004: |
Support [[Site:Page][label]] Interwiki links (PTh); use TWiki::Func interface for I18N regular expressions (Walter Mundt) |
|
> > |
16 Feb 2004: |
Support [[Site:Page][label]] Interwiki links (PTh); use TWiki::Func interface for I18N regular expressions (Walter Mundt) |
|
|
18 Jan 2003: |
Allow number sign # in Page name (PTh) |
31 Aug 2002: |
Allow percent sign % in page name (PTh) |
27 Jul 2001: |
Allow numbers 0-9 in site name |
|
|
CPAN Dependencies: |
none |
Other Dependencies: |
none |
Perl Version: |
5.0 |
|
|
< < |
Plugin Home: |
TWiki:Plugins/InterwikiPlugin (TWiki:Plugins/InterwikiPlugin) |
Feedback: |
TWiki:Plugins/InterwikiPluginDev (TWiki:Plugins/InterwikiPluginDev) |
Related Topics: InterWikis, TWikiPreferences, TWikiPlugins |
> > |
|
| |
|
> > | Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences, InterWikis |
| |
|
> > | -- TWiki:Main.PeterThoeny - 08 Nov 2006 |