Ignore:
Timestamp:
11/08/08 14:34:13 (4 years ago)
Author:
KoenMartens
Message:

Item110: replace occurences of TWIKIWEB with SYSTEMWEB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FindElsewherePlugin/data/TWiki/FindElsewherePlugin.txt

    r128 r464  
    99        * Each web would need to create their own topic for a common term  
    1010        * Or need to link to or INCLUDE the topic from where it is defined 
    11         * Authors would need to remember to put the Web name in front of the topic name, such as [[%TWIKIWEB%.WikiWord]] 
     11        * Authors would need to remember to put the Web name in front of the topic name, such as [[%SYSTEMWEB%.WikiWord]] 
    1212 
    1313Without this kind of plugin, it's likely that common terms or acronyms (abbreviations) used within an organization would be defined in multiple webs or the common terms will be unlinked wiki words (as if they didn't exist). 
     
    1515---+++ Syntax Rules 
    1616 
    17 No new syntax is introduced.  However, new automatic %TWIKIWEB%.WikiWord linking will occur.   
     17No new syntax is introduced.  However, new automatic %SYSTEMWEB%.WikiWord linking will occur.   
    1818 
    1919If a topic or abbreviation is not found in the current web, this plugin will look through the webs listed in the LOOKELSEWHEREWEBS variable.  If the topic is found (as it looks through the webs in their listed order), it will create one or more links, depending on the number of topics found. 
     
    2424 
    2525| *Test case*         | *Input*             | *Output<br/>(if installed)* | *Expected*       | 
    26 | Found here          | =<nop>WebHome=        | WebHome        | %TWIKIWEB%.WebHome     | 
    27 | Found singular here | =<nop>WebHomes=       | WebHomes       | [[%TWIKIWEB%.WebHome][WebHomes]] | 
    28 | Found elsewhere     | =<nop>WebSearch= | WebSearch | [[%TWIKIWEB%.WebSearch][WebSearch]] | 
    29 | Found elsewhere (LOOKELSEWHEREFORLOCAL enabled)    | =<nop>%TWIKIWEB%.TWikiUsers= | %TWIKIWEB%.TWikiUsers | [[Main.TWikiUsers][TWikiUsers]] | 
    30 | Found elsewhere (LOOKELSEWHEREFORLOCAL disabled)    | =<nop>%TWIKIWEB%.TWikiUsers= | %TWIKIWEB%.TWikiUsers | [[TWiki.TWikiUsers][TWikiUsers]] (non-existing) | 
     26| Found here          | =<nop>WebHome=        | WebHome        | %SYSTEMWEB%.WebHome     | 
     27| Found singular here | =<nop>WebHomes=       | WebHomes       | [[%SYSTEMWEB%.WebHome][WebHomes]] | 
     28| Found elsewhere     | =<nop>WebSearch= | WebSearch | [[%SYSTEMWEB%.WebSearch][WebSearch]] | 
     29| Found elsewhere (LOOKELSEWHEREFORLOCAL enabled)    | =<nop>%SYSTEMWEB%.TWikiUsers= | %SYSTEMWEB%.TWikiUsers | [[Main.TWikiUsers][TWikiUsers]] | 
     30| Found elsewhere (LOOKELSEWHEREFORLOCAL disabled)    | =<nop>%SYSTEMWEB%.TWikiUsers= | %SYSTEMWEB%.TWikiUsers | [[TWiki.TWikiUsers][TWikiUsers]] (non-existing) | 
    3131| Found elsewhere     | =[<nop>[TWikiAdminGroup][twiki admins]]= | [[TWikiAdminGroup][twiki admins]] | [[Main.TWikiAdminGroup][twiki admins]] | 
    3232| Don't touch direct links     | =[<nop>[%MAINWEB%.TWikiAdminGroup][twiki admins]]= | [[%MAINWEB%.TWikiAdminGroup][twiki admins]] | [[Main.TWikiAdminGroup][twiki admins]] | 
    33 | Found singular  elsewhere     | =<nop>WebSearches= | WebSearches | [[%TWIKIWEB%.WebSearch][WebSearches]] |  
    34 | Found elsewhere, spaced wiki word | =[<nop/>[Web search]]= | [[Web search]] | [[%TWIKIWEB%.WebSearch][Web search]] | 
     33| Found singular  elsewhere     | =<nop>WebSearches= | WebSearches | [[%SYSTEMWEB%.WebSearch][WebSearches]] |  
     34| Found elsewhere, spaced wiki word | =[<nop/>[Web search]]= | [[Web search]] | [[%SYSTEMWEB%.WebSearch][Web search]] | 
    3535| Found elsewhere, abbrev | =<nop/>ACRONYM= | ACRONYM | (If <nop/>ACRONYM is a topic defined in one of the LOOKELSEWHERE webs, a link to it should show up) | 
    3636| Found elsewhere, abbrev w. alt. linktext | =[<nop/>[ACRONYM][acronym link text]]= | [[ACRONYM][acronym link text]] | (If <nop/>ACRONYM is a topic defined in one of the LOOKELSEWHERE webs, a link to it should show up) | 
     
    4444 
    4545        * Standard <nop/>WikiWord: <nop/>TWikiPreferences<sup>([[TWiki.TWikiPreferences][TWiki]],[[Main.TWikiPreferences][Main]])</sup>  
    46         * [<nop/>[Spaced wiki word]]: <em>TWiki preferences</em><sup>([[%TWIKIWEB%.TWikiPreferences][%TWIKIWEB%]],[[%MAINWEB%.TWikiPreferences][%MAINWEB%]])</sup>  
     46        * [<nop/>[Spaced wiki word]]: <em>TWiki preferences</em><sup>([[%SYSTEMWEB%.TWikiPreferences][%SYSTEMWEB%]],[[%MAINWEB%.TWikiPreferences][%MAINWEB%]])</sup>  
    4747 
    4848Create this table in [[Sandbox.FindElsewherePluginTest]] to try it out (use raw edit when pasting): 
     
    5050<verbatim> 
    5151| *Test case* | *Input* | *Output<br />(if installed)* | *Expected* | 
    52 | Found elsewhere, spaced wiki word | [<nop>[TWiki preferences]] | [[TWiki preferences]] | _TWiki preferences_ <sup>([[%TWIKIWEB%.TWikiPreferences][%TWIKIWEB%]],[[%MAINWEB%.TWikiPreferences][%MAINWEB%]])</sup> | 
    53 | Found elsewhere | <nop>TWikiContributor | TWikiContributor | <nop>TWikiContributor<sup>([[%TWIKIWEB%.TWikiContributor][%TWIKIWEB%]],[[%MAINWEB%.TWikiContributor][%MAINWEB%]])</sup> | 
     52| Found elsewhere, spaced wiki word | [<nop>[TWiki preferences]] | [[TWiki preferences]] | _TWiki preferences_ <sup>([[%SYSTEMWEB%.TWikiPreferences][%SYSTEMWEB%]],[[%MAINWEB%.TWikiPreferences][%MAINWEB%]])</sup> | 
     53| Found elsewhere | <nop>TWikiContributor | TWikiContributor | <nop>TWikiContributor<sup>([[%SYSTEMWEB%.TWikiContributor][%SYSTEMWEB%]],[[%MAINWEB%.TWikiContributor][%MAINWEB%]])</sup> | 
    5454</verbatim> 
    5555 
     
    6262| *Input*                                                                | *Output*                               | 
    6363| <nop>%TOPIC%#TopicAnchor                | %TOPIC%#NewFunctionalityTest  | 
    64 | <nop>%TWIKIWEB%.WebHome                       | %TWIKIWEB%.WebHome     | 
     64| <nop>%SYSTEMWEB%.WebHome                      | %SYSTEMWEB%.WebHome    | 
    6565| <nop>WebHome                                            | WebHome                                     | 
    66 | [<nop>[%TWIKIWEB%.WebHome]]     | [[%TWIKIWEB%.WebHome]]        | 
    67 | [<nop>[%TWIKIWEB%.WikiWord]]   | [[%TWIKIWEB%.WikiWord]]       | 
    68 | [<nop>[%TWIKIWEB%.WikiWords]] | [[%TWIKIWEB%.WikiWords]]      | 
    69 | <nop>%TWIKIWEB%.WikiWord                | %TWIKIWEB%.WikiWord | 
    70 | <nop>%TWIKIWEB%.WikiWords              | %TWIKIWEB%.WikiWords  | 
     66| [<nop>[%SYSTEMWEB%.WebHome]]    | [[%SYSTEMWEB%.WebHome]]       | 
     67| [<nop>[%SYSTEMWEB%.WikiWord]]  | [[%SYSTEMWEB%.WikiWord]]      | 
     68| [<nop>[%SYSTEMWEB%.WikiWords]]        | [[%SYSTEMWEB%.WikiWords]]     | 
     69| <nop>%SYSTEMWEB%.WikiWord               | %SYSTEMWEB%.WikiWord        | 
     70| <nop>%SYSTEMWEB%.WikiWords             | %SYSTEMWEB%.WikiWords  | 
    7171| [<nop/>[%MAINWEB%.WebSearch][This is a link to <nop/>WebSearch in <nop/>%MAINWEB%]] | [[%MAINWEB%.WebSearch][This is a link to WebSearch in %MAINWEB%]] | 
    7272 
Note: See TracChangeset for help on using the changeset viewer.