Changeset 464 for trunk/AliasPlugin/data/TWiki/AliasPlugin.txt
- Timestamp:
- 11/08/08 14:34:13 (4 years ago)
- File:
-
- 1 edited
-
trunk/AliasPlugin/data/TWiki/AliasPlugin.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/AliasPlugin/data/TWiki/AliasPlugin.txt
r28 r464 36 36 1 the current web 37 37 2 the %MAINWEB% web 38 3 if there's no <nop>WebAliases topic in the %MAINWEB% it will be looked up in the % TWIKIWEB%38 3 if there's no <nop>WebAliases topic in the %MAINWEB% it will be looked up in the %SYSTEMWEB% 39 39 The aliases defined in (1) are merged with those in (2) or (3). Thereby you can define 40 40 site-wide aliases in <nop>%MAINWEB%.WebAliases and web specific aliases in the current's web <nop>WebAliases … … 98 98 99 99 ---++ Defined Aliases 100 %ALIAS{name="TESTLINK" value="% TWIKIWEB%.WebHome"}%100 %ALIAS{name="TESTLINK" value="%SYSTEMWEB%.WebHome"}% 101 101 %ALIAS{name="TESTALIAS" value="yes"}% 102 102 %ALIAS{name="rtfm" value="read the fine manual"}% … … 119 119 %STARTALIASAREA% 120 120 | * * | *Test* | *Should be* | *Comment* | 121 | 1 | TESTLINK | [[% TWIKIWEB%.WebHome][TESTLINK]] | yes, substitute: this is a link to <nop>TWiki.WebHome |121 | 1 | TESTLINK | [[%SYSTEMWEB%.WebHome][TESTLINK]] | yes, substitute: this is a link to <nop>System.WebHome | 122 122 | 2 | TESTALIAS | yes | yes | 123 123 | 3 | _TESTLINK | _TESTLINK | no substitution: =_= is no word boundary | 124 124 | 4 | TESTLINK_TESTLINK | TESTLINK_TESTLINK | no: =_= is no word boundary | 125 | 5 | <u>TESTLINK</u> | <u>[[% TWIKIWEB%.WebHome][TESTLINK]]</u> | yes |125 | 5 | <u>TESTLINK</u> | <u>[[%SYSTEMWEB%.WebHome][TESTLINK]]</u> | yes | 126 126 | 6 | TESTLINKTESTLINK | TESTLINKTESTLINK | no: this is _one_ word not being aliases | 127 127 | 7 | rtfm | read the fine manual | yes, but be more polite to your users | 128 128 | 8 | <a href="%SCRIPTURL{"view"}%/TESTALIAS" title="TESTALIAS">TESTALIAS</a> | <a href="%SCRIPTURL{"view"}%/yes" title="yes">yes</a> | yes | 129 | 9 | [[TWiki.WebHome][TESTALIAS]] | <a href="%SCRIPTURLPATH{"view"}%/% TWIKIWEB%.WebHome">T<nop>ESTALIAS</a> | no, don't substitute inside a TWiki tag |129 | 9 | [[TWiki.WebHome][TESTALIAS]] | <a href="%SCRIPTURLPATH{"view"}%/%SYSTEMWEB%.WebHome">T<nop>ESTALIAS</a> | no, don't substitute inside a TWiki tag | 130 130 | 10 | [[TESTALIAS]] | <a href="%SCRIPTURL{"edit"}%/%WEB%/TESTALIAS?topicparent=%WEB%.%TOPIC%" class="twikiNewLink" title="Create this topic">T<nop>ESTALIAS</a>| no, don't substitute inside a TWiki tag | 131 131 | 11 | [<nop>[TESTALIAS]] | [<nop>[T<nop>ESTALIAS]] | no, not even inside a _nopped_ TWiki tag |
Note: See TracChangeset
for help on using the changeset viewer.
