Difference: InterwikiPlugin (9 vs. 10)

Revision 102006-11-08 - PeterThoeny

Line: 1 to 1
Deleted:
<
<
 

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.

Line: 10 to 8
 

Syntax Rules

  • Enter ExternalSite:Page to create a link that points to the Page on the ExternalSite server.
Added:
>
>
  • Enter [[ExternalSite:Page][any label]] to specify a custom label.
 
Added:
>
>
  • 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.
 
  • HELP For TWiki sites, both the web and the topic have to be specified: TWikisite:Webname/SomePage
    • TWiki:Plugins/InterwikiPlugin or TWiki:Plugins.InterwikiPlugin
Line: 26 to 28
 
  • Link rules topic name: (default is InterWikis)
    • Set RULESTOPIC =
Changed:
<
<
  • Suppress tooltip help for links: (0 or 1, default is 0)
    • Set SUPPRESSTOOLTIP = 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
    • Set INTERLINKFORMAT = $label
 

Plugin Installation Instructions

Line: 44 to 51
 

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Changed:
<
<
Plugin Version: 1.008
>
>
Copyright: © 2006, TWiki:Main.AndreaSterbini, Peter Thoeny
License: GPL (GNU General Public License)
Plugin Version: 11935
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
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
Changed:
<
<
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
Line: 62 to 73
 
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Changed:
<
<
Plugin Home: TWiki:Plugins/InterwikiPlugin (TWiki:Plugins/InterwikiPlugin)
Feedback: TWiki:Plugins/InterwikiPluginDev (TWiki:Plugins/InterwikiPluginDev)

Related Topics: InterWikis, TWikiPreferences, TWikiPlugins

>
>
Benchmarks: GoodStyle 100%, FormattedSearch 98%, InterwikiPlugin 98%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/InterwikiPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/InterwikiPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/InterwikiPluginAppraisal
 
Added:
>
>
Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences, InterWikis
 
Added:
>
>
-- TWiki:Main.PeterThoeny - 08 Nov 2006
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.InterwikiPlugin.