Changes between Version 7 and Version 8 of ServerSideRedirectPlugin


Ignore:
Timestamp:
Dec 26, 2009 2:43:54 PM (4 years ago)
Author:
martin_s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerSideRedirectPlugin

    v7 v8  
    3434== Usage Examples == 
    3535 
    36 The following 'macro' at the begin of the wiki page will cause a redirect to the ''!OtherWikiPage''. 
     36To use the plugin place the following trac macro at the begin of the wiki page. 
    3737{{{ 
    3838[[redirect(OtherWikiPage)]] 
    3939}}} 
    40 Any other [TracLinks TracLink] can be used: 
     40or 
     41{{{ 
     42[[Redirect(OtherWikiPage)]] 
     43}}} 
     44The macro is normally not executed, but the plugin will scan every wiki page for it and  
     45execute the redirect before the wiki page is send to the user. However, a fall-back implementation of the macro 
     46is provided which displays the redirect target to the user. This message is also shown directly after the redirect 
     47macro was added to the wiki page to give the editing user a feedback over the successful change. 
     48 
     49Please note that the lower-case version '`redirect`' is compatible with the TracRedirect macro, which is not  
     50redefined by this plugin if this macro is also enabled. The upper-case version '`Redirect`' is always provided by this 
     51plugin and will be ignored by TracRedirect. 
     52 
     53 
     54In addition to a wiki page any other [TracLinks TracLink] can also be used: 
    4155{{{ 
    4256[[redirect(wiki:OtherWikiPage)]] 
    4357[[redirect(source:/trunk/file.py)]] 
    4458[[redirect(http://www.example.com/)]] 
     59}}} 
     60or 
     61{{{ 
     62[[Redirect(wiki:OtherWikiPage)]] 
     63[[Redirect(source:/trunk/file.py)]] 
     64[[Redirect(http://www.example.com/)]] 
    4565}}} 
    4666