summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TWiki/FindElsewherePlugin.mdwn84
1 files changed, 84 insertions, 0 deletions
diff --git a/TWiki/FindElsewherePlugin.mdwn b/TWiki/FindElsewherePlugin.mdwn
index f24c6f40..bafa6134 100644
--- a/TWiki/FindElsewherePlugin.mdwn
+++ b/TWiki/FindElsewherePlugin.mdwn
@@ -12,6 +12,90 @@ To create your own plugin:
(none)
+## <a name="Test_of_the_new_functionality"> Test of the new functionality </a>
+
+<table border="1" cellpadding="1" cellspacing="0">
+ <tr>
+ <th bgcolor="#99CCCC"><strong>test case</strong></th>
+ <th bgcolor="#99CCCC"><strong>input</strong></th>
+ <th bgcolor="#99CCCC"><strong>output</strong></th>
+ <th bgcolor="#99CCCC"><strong>expected</strong></th>
+ </tr>
+ <tr>
+ <td> found </td>
+ <td><nop>TestTopic1 </nop></td>
+ <td><span style="background:"><font color="">Test Topic 1</font></span><a href="http://LOCATION/TestTopic1">?</a></td>
+ <td><nop>TestTopic1 </nop></td>
+ </tr>
+ <tr>
+ <td> found singular </td>
+ <td><nop>SingularTopics </nop></td>
+ <td><span style="background:"><font color="">Singular Topics</font></span><a href="http://LOCATION/SingularTopics">?</a></td>
+ <td><nop>SingularTopic </nop></td>
+ </tr>
+ <tr>
+ <td> found other web </td>
+ <td><nop>CodingStandard </nop></td>
+ <td><span style="background:"><font color="">Coding Standard</font></span><a href="http://LOCATION/CodingStandard">?</a></td>
+ <td><nop>Digi.CodingStandard </nop></td>
+ </tr>
+ <tr>
+ <td> found singular </td>
+ <td><nop>CodingStandards </nop></td>
+ <td><span style="background:"><font color="">Coding Standards</font></span><a href="http://LOCATION/CodingStandards">?</a></td>
+ <td><nop>Digi.CodingStandards </nop></td>
+ </tr>
+ <tr>
+ <td> found singular </td>
+ <td><nop>WikiWord </nop></td>
+ <td><span style="background:"><font color="">Wiki Word</font></span><a href="http://LOCATION/WikiWord">?</a></td>
+ <td><nop>TWiki.WikiWord </nop></td>
+ </tr>
+</table>
+
+## <a name="Don_t_break_other_types_of_wiki_"> Don't break other types of wiki words </a>
+
+<table border="1" cellpadding="1" cellspacing="0">
+ <tr>
+ <th bgcolor="#99CCCC"><strong>input</strong></th>
+ <th bgcolor="#99CCCC"><strong>output</strong></th>
+ </tr>
+ <tr>
+ <td><nop>TestFindElsewhere#TopicAnchor </nop></td>
+ <td><span style="background:"><font color="">Test Find Elsewhere#Topic Anchor</font></span><a href="http://LOCATION/TestFindElsewhere">?</a></td>
+ </tr>
+ <tr>
+ <td><nop>Test.WebHome </nop></td>
+ <td><span style="background:"><font color="">Web Home</font></span><a href="http://LOCATIONTest/WebHome">?</a></td>
+ </tr>
+ <tr>
+ <td><nop>WebHome </nop></td>
+ <td><span style="background:"><font color="">Web Home</font></span><a href="http://LOCATION/WebHome">?</a></td>
+ </tr>
+ <tr>
+ <td> [<nop>[Test.WebHome]] </nop></td>
+ <td><span style="background:"><font color="">Test.Web Home</font></span><a href="http://LOCATIONTest/WebHome">?</a></td>
+ </tr>
+ <tr>
+ <td> [<nop>[Digi.CodingStandard]] </nop></td>
+ <td><span style="background:"><font color="">Digi.Coding Standard</font></span><a href="http://LOCATIONDigi/CodingStandard">?</a></td>
+ </tr>
+ <tr>
+ <td> [<nop>[Digi.CodingStandards]] </nop></td>
+ <td><span style="background:"><font color="">Digi.Coding Standards</font></span><a href="http://LOCATIONDigi/CodingStandards">?</a></td>
+ </tr>
+ <tr>
+ <td><nop>Digi.CodingStandard </nop></td>
+ <td><span style="background:"><font color="">Coding Standard</font></span><a href="http://LOCATIONDigi/CodingStandard">?</a></td>
+ </tr>
+ <tr>
+ <td><nop>Digi.CodingStandards </nop></td>
+ <td><span style="background:"><font color="">Coding Standards</font></span><a href="http://LOCATIONDigi/CodingStandards">?</a></td>
+ </tr>
+</table>
+
+<a name="TopicAnchor"></a>
+
### <a name="_TOPIC_Settings"> %TOPIC% Settings </a>
Plugin settings are stored as preferences variables. To reference a plugin setting write <code>**%&lt;plugin&gt;\_&lt;setting&gt;%**</code>, i.e. <code>**%EMPTYPLUGIN\_SHORTDESCRIPTION%**</code>