Opened 8 years ago

#7375 new enhancement

Support for rendering redirected pages (ServerSideRedirectPlugin)

Reported by: Lucas Rangit MAGASWERAN Owned by: Álvaro Iradier
Priority: normal Component: TracWikiPrintPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Álvaro Iradier.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.