Changes between Version 10 and Version 11 of ServerSideRedirectPlugin


Ignore:
Timestamp:
Mar 12, 2015, 9:47:22 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • ServerSideRedirectPlugin

    v10 v11  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Server Side Redirect from a Wiki Page =
    32
    4 == Description ==
     3= Server Side Redirect from a Wiki Page
     4
     5== Description
    56
    67This plug-in allows one to place a redirect macro at the start of any wiki page which will cause an server side redirect when the wiki page is viewed.
     
    1415Direct after the redirect target is added (or modified) Trac will automatically reload it, as it does with all wiki pages. This plug-in will detect this and not redirect but display the wiki page with the redirect target URL printed to provide feedback about the successful change. However, further visits will trigger the redirect.
    1516
    16 == Dependencies ==
    17 This plug-in uses the ExtractUrlPlugin, which must also be install.
    18 
    1917== Bugs/Feature Requests ==
    2018
     
    2422If you have any issues, create a
    2523[/newticket?component=ServerSideRedirectPlugin&owner=martin_s new ticket].
     24
     25[[TicketQuery(component=ServerSideRedirectPlugin&group=type,format=progress)]]
    2626
    2727== Download ==
     
    3333You can check out ServerSideRedirectPlugin from [/svn/serversideredirectplugin/0.11 here] using Subversion, or [source:serversideredirectplugin/0.11 browse the source] with Trac.
    3434
    35 == Configuration ==
     35== Installation
    3636
    37 Enable the plugin in:
     37Dependencies: ExtractUrlPlugin must also be installed.
    3838
    39 /trac/env/Project/conf/trac.ini:
     39Install the plugin as per the usual installation steps.
     40
     41Enable the plugin in `conf/trac.ini` as follows:
    4042
    4143{{{
     
    4850You may need to restart your Web server.
    4951
    50 == Usage Examples ==
     52== Examples
    5153
    52 To use the plugin place the following trac macro at the begin of the wiki page.
     54To use the plugin place the following trac macro at the begin of the wiki page:
    5355{{{
    5456[[redirect(OtherWikiPage)]]
    5557}}}
    56 or
     58
     59or:
     60
    5761{{{
    5862[[Redirect(OtherWikiPage)]]
    5963}}}
     64
    6065The macro is normally not executed, but the plugin will scan every wiki page for it and
    6166execute the redirect before the wiki page is send to the user. However, a fall-back implementation of the macro