Opened 14 years ago
Last modified 5 years ago
#7375 new enhancement
Support for rendering redirected pages (ServerSideRedirectPlugin)
Reported by: | Lucas Rangit MAGASWERAN | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | TracWikiPrintPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
ServerSideRedirectPlugin allows one to place a redirect macro at the start of any wiki page which will cause a server side redirect when the wiki page is viewed.
I would like the TracWikiPrintPlugin macro to be aware of the redirect macro and instead of rendering the page with the redirect (which would be blank because it's just a redirect) it renders the page it's redirected to.
For example, https://server/trac/project/wiki/Meetings/CurrentStatus redirects to https://server/trac/project/wiki/Meetings/2010-06-28?redirectedfrom=CurrentStatus.
I am requesting that https://server/trac/project/wiki/Meetings/CurrentStatus?format=printhtml redirect to the html output of https://server/trac/project/wiki/Meetings/2010-07-12?redirectedfrom=CurrentStatus?format=printhtml.
I apologize in advance if this enhancement request should be made against the ServerSideRedirectPlugin.