Tags:
linking3Add my vote for this tag create new tag
, view all tags

StopWikiWordLinkPlugin

Prevents automatic linking of selected WikiWords

Introduction

This Plugin prevents automatic linking of selected WikiWords such as LinuxWorld or MacDonald.

Usage

WikiWords that should not be automatically linked are listed in a STOPWIKIWORDLINK preferences setting or Plugin setting. This is typically done in the Main.TWikiPreferences, but can be done also in any web (in WebPreferences), or in a single topic. See sample entry in the Plugin settings.

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %STOPWIKIWORDLINKPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Prevents automatic linking of selected WikiWords

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

  • List of WikiWords excluded from auto-linking:
    • Set STOPWIKIWORDLINK = LinuxWorld, MacDonald

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.

  • Download the ZIP file from the plugin web (see below)
  • Unzip StopWikiWordLinkPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/StopWikiWordLinkPlugin.txt Plugin topic
    lib/TWiki/Plugins/StopWikiWordLinkPlugin.pm Plugin Perl module
  • Configure the Plugin:
    • Run the configure script to enable the plugin
    • Add a STOPWIKIWORDLINK setting to the Main.TWikiPreferences topic, listing all WikiWords to exclude from auto-linking. Example:
      • Set STOPWIKIWORDLINK = LinuxWorld, MacDonald
  • Test if the installation was successful. The following words should not be linked when above example is used:

Limitations

  • This Plugin is not internationalized, that is at this time only A-Z, a-z, and 0-9 are supported for WikiWords

Plugin Info

Plugin Author: TWiki:Main.PeterThoeny
Copyright: © 2006-2011 Peter Thoeny, Twiki, Inc,
© 2006-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Plugin Version: 2011-07-10
Change History:  
2011-07-10: TWikibug:Item6725: Change global package variables from "use vars" to "our"
2010-11-09: Doc improvements
2006-08-10: Fixed issue where WikiWord at the beginning of line was still linked
2006-08-09: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Benchmarks: GoodStyle 100%, FormattedSearch 100%, StopWikiWordLinkPlugin 99%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/StopWikiWordLinkPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/StopWikiWordLinkPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/StopWikiWordLinkPluginAppraisal

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatmd5 StopWikiWordLinkPlugin.md5 manage 0.2 K 2011-07-11 - 05:15 PeterThoeny  
Compressed Zip archivetgz StopWikiWordLinkPlugin.tgz manage 4.1 K 2011-07-11 - 05:15 PeterThoeny  
Compressed Zip archivezip StopWikiWordLinkPlugin.zip manage 5.7 K 2011-07-11 - 05:15 PeterThoeny  
Unknown file formatEXT StopWikiWordLinkPlugin_installer manage 3.4 K 2011-07-11 - 05:15 PeterThoeny  
Topic revision: r5 - 2011-08-23 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.