jEdit Community home jEdit Community Wiki > TWiki > FindElsewherePlugin jEdit Community Wiki webs:
Main | Plugins | Know | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

Find Elsewhere Plugin

This plugin will automatically link to another web(s) if a topic isn't found in the current web.

This is useful for a TWiki site that wants to implement a glossar/dictionary web where common terms are defined and stored. Without this plugin:

Without this kind of plugin, it's likely that common terms used within an organization will be defined in multiple webs or the common terms will be unlinked wiki words (as if they didn't exist).

Syntax Rules

No new rules are introduced. However, new automatic Wiki Word linking will occur.

If a topic is not found in the current web, this plugin will look in the LOOKELSEWHERE web list for that topic. If and when the topic is found as it looks through the webs in their listed order, it will create a link to that page using the [[ ]] syntax.

New Functionality

test case input down output expected
found elsewhere TWikiAdminGroup TWiki Admin Group Main.TWikiAdminGroup
found singular elsewhere TWikiAdminGroups TWiki Admin Groups Main.TWikiAdminGroups
found here WebHome Web Home WebHome
found singular here WebHomes Web Homes WebHomes

Don't break other types of links...

input output
FindElsewherePlugin#TopicAnchor Find Elsewhere Plugin#New Functionality Test
TWiki.WebHome Web Home
WebHome Web Home
[[TWiki.WebHome]] TWiki.Web Home
[[TWiki.WikiWord]] TWiki.Wiki Word
[[TWiki.WikiWords]] TWiki.Wiki Words
TWiki.WikiWord Wiki Word
TWiki.WikiWords Wiki Words

FindElsewherePlugin Settings

Plugin Installation Instructions

File: Description:
data/TWiki/FindElsewherePlugin.txt Plugin topic
data/TWiki/FindElsewherePlugin.txt,v Plugin topic repository
lib/TWiki/Plugins/FindElsewherePlugin.pm Plugin Perl module

Plugin Info

Plugin Author: Mike Barton?
Plugin Version: 1 Feb 2002
Change History: 1 Feb 2002: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/FindElsewherePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/FindElsewherePluginDev

Related Topics: TWiki Preferences, TWiki Plugins, Default Plugin

-- Mike Barton? - 1 Feb 2002

Topic FindElsewherePlugin . { Edit | Attach | Ref-By | Printable | Diffs | r1.10 | > | r1.9 | > | r1.8 | More }
Revision r1.10 - 18 Aug 2003 - 13:52 GMT - Brad Mace Copyright © 1999-2004 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding jEdit Community Wiki? Send feedback.