Tags:
create new tag
, view all tags

Older Feedback for SingletonWikiWordPlugin

All these issues are fixed, as far as I know. See current discussions in SingletonWikiWordPluginDev

-- MartinCleaver - 28 May 2003

I think the test table should be written as:

Written as Test If it works you see If it doesn't, you will see
.Singleword .Singleword Singleword .Singleword

otherwise when the plugin is installed and working all of the columns look exactly the same.

-- MattWilkie - 29 Nov 2001

Thanks, done.

-- MartinCleaver - 21 Jan 2002

Any chance you can do a .zip download package instead of just the .pm ? I happened to know raw=on to get the source for the topic, but I'm not sure everyone would.

-- SteveSexton - 28 Jan 2002

Only just read your message! I have made the change you suggested. Thanks.

-- MartinCleaver - 09 Jul 2002

Hi, I just installed your plugin and recognized, that it doesn't handle the space in front of the dot correctly. So if you write for example

Simple singelton Wiki Word Plugin Test

.Singelton

The two lines will be concatenated in the Form

Simple singelton Wiki Word Plugin TestSingelton

I had to modify the line

 $_[0] =~ s/\s+\.([A-Z]+[a-z]*)/&TWiki::Func::internalLink("[[$1]]",$web,$web,"",1)/geo

to

 $_[0] =~ s/(\s+)\.([A-Z]+[a-z]*)/"$1".&TWiki::Func::internalLink("[[$2]]",$web,$web,"",1)/geo

This was my first Perl regular expression smile and I don't know yet, why I had to put the dot in between the "$1" and the TWiki function. But without the dot it wasn't working either.

-- DirkLuetjens - 31 Jul 2002

Suggestion: Change the SHORTDESCRIPTION setting to describe what the plugin actually does instead of a http://twiki.org/cgi-bin/view/Codev/?topic=SingletonWikiWord link. Done here on the Plugin topic, but should be done also in the package.

-- PeterThoeny - 16 Aug 2002

Setting the DEBUG variable has no effect. The plugin always spews output to the debug file. The perl source file has the following errors:

  1. The line that sets the debug variable should be uncommented to read the PreferencesFlag
  2. All instances of SINGLETONWIKIWORDSPLUGIN (extra S) should be changed to SINGLETONWIKIWORDPLUGIN.

-- MikeKelly - 19 Aug 2002

Indeed! When my sysadmin asked me about the 10G debug.txt file I was more than a little perplexed. After a fair amount of exploration I finally realized that the plugin page doesn't follow the rules for variable setting -- those are only three spaces before the two Sets, not six. And they should have an additional * line before them, with only three spaces, so that they appear correctly as second-level bullets. (The bullet in the installation instructions was also missing three spaces.) Here's how I edited our local copy to match other plugin pages.


   * One line description, shown in the %TWIKIWEB%.TextFormattingRules topic:
      * Set SHORTDESCRIPTION = This plugin holds a function to implement the features listed on http://twiki.org/cgi-bin/view/Codev/?topic=SingletonWikiWord.

   * Set DEBUG to 1 to get debug messages in =data/debug.txt=. Default: =0=
      * Set DEBUG = 0

   * There are no customisable settings  

---+++ Plugin Installation Instructions   

   * To install this plug-in you must install this topic and the .pm file.

Also, in addition to fixing the line that sets the $debug variable, the if $debug on the next line should be uncommented.

-- MitchellModel - 13 Jan 2003

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-05-29 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.