This question about Using an extension: Answered

Is this a bug in STOPWIKIWORDLINK?

We have two major projects named FiSa and AML that get mentioned a lot and all the automatic links to these two specific wikiwords are distracting. Hence, we introduced the ControlWikiWordPlugin with great success, but found that if we mention both projects with a slash in between: FiSa/AML then the plugin doesn't get triggered. I also tried adding the combined term in the stopword list, but it didn't help.

Am I missing something, or is this a bug in the plugin that I should report?

-- TorbenGB - 12 Apr 2011

Screenshot: stopwikiwordlink.png

Answer

I'm not sure if the bug is in Foswiki Render - in that it's recognizing something that probably should not be a wikiword, or in ControlWikiWordPlugin.

The plugin assumes that WikiWords are delimited by the standard Start and End wikiword delimiters. Render.pm doesn't seem to use the End delimiter. However my attempts at adding the end delimiter broke things pretty badly.

I've got a fix to ControlWikiWordPlugin.pm. I change the ending delimiter to match any non-WikiWord character. So the match terminates at the slash or any other character that would not be part of a wikiword.

Fix is released in ControlWikiWordPlugin version 1.4. Tasks.Item10997

Thanks!

Thank you George! It took a while before it was installed in our system, but now it's there and working well. Many many many many many many many many many thanks!

-- TorbenGB - 12 Sep 2011

QuestionForm edit

Subject Using an extension
Extension ControlWikiWordPlugin
Version Foswiki 1.1.2
Status Answered
Related Topics
Topic revision: r3 - 12 Sep 2011, TorbenGB - This page was cached on 14 Jan 2018 - 09:32.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License