Ignore:
Timestamp:
11/08/08 13:16:17 (4 years ago)
Author:
KoenMartens
Message:

Item110: replace occurences of TWIKIWEB with SYSTEMWEB in release branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release04x02/twikiplugins/CommentPlugin/data/TWiki/CommentPlugin.txt

    r11 r463  
    3232#StandardAttrs 
    3333Write =%<nop>COMMENT{<i>attributes</i>}%= anywhere in a TWiki topic. 
    34 %INCLUDE{"%TWIKIWEB%.VarCOMMENT" section="comment_attributes"}% 
     34%INCLUDE{"%SYSTEMWEB%.VarCOMMENT" section="comment_attributes"}% 
    3535(See also [[#MoreAttrs][additional attributes]]) 
    3636 
     
    5050%COMMENT{type="above" target="%MAINWEB%.PersonalRemarks#InsertHere"}% 
    5151</verbatim> 
    52 This uses a standard TWiki in-topic anchor as the insertion location. See %TWIKIWEB%.TextFormattingRules for more about TWiki anchors. 
     52This uses a standard TWiki in-topic anchor as the insertion location. See %SYSTEMWEB%.TextFormattingRules for more about TWiki anchors. 
    5353 
    5454---++++ Location relative to an arbitrary text string 
     
    9191Customisation of the comment plugin requires 
    9292        * familiarity with HTML forms 
    93         * some familiarity with the [[%TWIKIWEB%.TWikiTemplates][TWiki templating language]]. 
     93        * some familiarity with the [[%SYSTEMWEB%.TWikiTemplates][TWiki templating language]]. 
    9494 
    9595To define a comment type, you have to provide two simple template definitions in the template file; one for the prompt box, and one for the generated output. If we have a template type "mytype", these are named =PROMPT:mytype= and =OUTPUT:mytype= respectively. See =comments.tmpl= in the templates directory for examples. 
     
    9898 
    9999---+++ Defining custom templates 
    100 By default, =templates/comments.tmpl= includes the topic %TWIKIWEB%.CommentPluginTemplate, which contains all the shipped standard templates and in turn includes %TWIKIWEB%.<nop>UserCommentsTemplate that can include non-standard customisations. 
     100By default, =templates/comments.tmpl= includes the topic %SYSTEMWEB%.CommentPluginTemplate, which contains all the shipped standard templates and in turn includes %SYSTEMWEB%.<nop>UserCommentsTemplate that can include non-standard customisations. 
    101101 
    102102This allows for several levels of customisation: 
    103103   1 To *override all default templates, everywhere*, change =comments.tmpl= to include a different topic (this customisation will be lost next time you upgrade, though). 
    104    1 To add *site-wide local template customisations*, add them to %TWIKIWEB%.UserCommentsTemplate (create if it does not exist yet). You can redefine the standard templates here if you want, and your definitions will override the standard definitions. 
    105    1 To override templates on a *web-by-web basis*, add a topic =UserCommentsTemplate= to the web (this will replace %TWIKIWEB%.<nop>UserCommentsTemplate) 
    106    1 To override templates *for a specific skin*, add them to %TWIKIWEB%.<nop>UserComments&lt;Skin&gt;Template (where &lt;Skin&gt; is the name of the skin with the first letter capitalised, e.g. Pattern) 
     104   1 To add *site-wide local template customisations*, add them to %SYSTEMWEB%.UserCommentsTemplate (create if it does not exist yet). You can redefine the standard templates here if you want, and your definitions will override the standard definitions. 
     105   1 To override templates on a *web-by-web basis*, add a topic =UserCommentsTemplate= to the web (this will replace %SYSTEMWEB%.<nop>UserCommentsTemplate) 
     106   1 To override templates *for a specific skin*, add them to %SYSTEMWEB%.<nop>UserComments&lt;Skin&gt;Template (where &lt;Skin&gt; is the name of the skin with the first letter capitalised, e.g. Pattern) 
    107107 
    108108You can also define a *comment template in a topic*, by passing the topic location with =templatetopic=. For example: 
     
    215215         | =%<nop>COMMENTPROMPT%= | Use with a custom form. If present, the comment prompt will be positioned here. | 
    216216          
    217 All the usual TWikiVariables that can be used in a topic template can also be used in an =OUTPUT= template. See %TWIKIWEB%.TWikiVariables for details. 
     217All the usual TWikiVariables that can be used in a topic template can also be used in an =OUTPUT= template. See %SYSTEMWEB%.TWikiVariables for details. 
    218218 
    219219---++ Settings 
    220220<!-- required for compatibility 
    221221                * Set SHORTDESCRIPTION = Allows users to quickly post comments to a page without an edit/preview/save cycle. 
    222         * Name of file in the 'templates' directory that contains the comment templates. The default 'comments.tmpl' automatically includes user templates from %TWIKIWEB%.CommentPluginTemplate 
     222        * Name of file in the 'templates' directory that contains the comment templates. The default 'comments.tmpl' automatically includes user templates from %SYSTEMWEB%.CommentPluginTemplate 
    223223                * Set TEMPLATES = comments 
    224224        * Default template type (if not present, defaults to "below") 
     
    227227Two TWiki Preference variables are recognised by the CommentPlugin: 
    228228| *Preference* | *Default* | *Description* | 
    229 | =%<nop>COMMENTPLUGIN_TEMPLATES%= | =comments= | Name of template file in the 'templates' directory that contains the comment templates. The default 'comments.tmpl' automatically includes user templates from %TWIKIWEB%.CommentPluginTemplate, which in turn includes %TWIKIWEB%.UserCommentsTemplate. | 
     229| =%<nop>COMMENTPLUGIN_TEMPLATES%= | =comments= | Name of template file in the 'templates' directory that contains the comment templates. The default 'comments.tmpl' automatically includes user templates from %SYSTEMWEB%.CommentPluginTemplate, which in turn includes %SYSTEMWEB%.UserCommentsTemplate. | 
    230230| =%<nop>COMMENTPLUGIN_DEFAULT_TYPE%= | =above= | Default template type | 
    231231These can be set in !TWikiPreferences, in !WebPreferences or in individual topics. 
     
    266266|  8788 | TWikibug:Item1465  Item1577: reverted 8433 to fix inclusion of correct user templates | 
    267267|  8787 | TWikibug:Item1573  renamed standard templates topic to avoid naming clash on Windows, where filenames are case-insensitive | 
    268 |  8433 | TWikibug:Item1465  Fix 'TWiki.' to '%TWIKIWEB%.'; also fixed include 'UserComments' to 'UserCommentsTemplate' (at least that is what the doc suggests) | 
     268|  8433 | TWikibug:Item1465  Fix 'TWiki.' to '%SYSTEMWEB%.'; also fixed include 'UserComments' to 'UserCommentsTemplate' (at least that is what the doc suggests) | 
    269269|  7427 | TWikibug:Item845  removed duplicate date in default comments; stick with server time | 
    270270|  7251 | TWikibug:Item810  fix for user template inclusion; reorganised templates to make customisation easier | 
     
    286286|  Feedback: | TWiki:Plugins/%TOPIC%Dev | 
    287287 
    288 __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins 
     288__Related Topics:__ %SYSTEMWEB%.TWikiPreferences, %SYSTEMWEB%.TWikiPlugins 
    289289 
    290290%META:FILEATTACHMENT{name="wikiringlogo20x20.png" attr="h" comment="" version="1"}% 
Note: See TracChangeset for help on using the changeset viewer.