Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#6001 closed defect (fixed)

Unable to browse wiki history of a wiki page with redirect

Reported by: Mitar Owned by: Martin Scharrer
Priority: normal Component: ServerSideRedirectPlugin
Severity: normal Keywords:
Cc: Mitar Trac Release: 0.11

Description

Unable to browse wiki history of a wiki page with redirect in last version as it is always redirecting even if browsed wiki page version does not have redirect macro. I believe this is a bug as history should still be accessible as it is (also with different versions of redirect macro arguments).

Attachments (0)

Change History (5)

comment:1 Changed 15 years ago by Martin Scharrer

Status: newassigned

Should the redirection by active when the history is browsed or not? If not the wiki will display the redirection target in an info box, like it does directly after it was edited.

comment:2 Changed 15 years ago by Martin Scharrer

Resolution: fixed
Status: assignedclosed

I now fixed this issue in [6792] with redirection in older version enabled. However, in [6793] the redirection is disabled, showing a 'This page redirects to: <name>' message instead. Please check both versions and tell me your opinion.

comment:3 Changed 15 years ago by Mitar

I like [6793] behavior better. When you are browsing older versions it is better to stay on a page. Thanks.

comment:4 Changed 15 years ago by Martin Scharrer

I also could program it in a way that redirection is disabled when browsing older versions using the 'previous version' etc. links but is enabled when the version is directly requested using e.g. browser bookmark or copy&paste of the URL. This can be done by looking at the HTTP_REFERER variable which I do anyway to disable redirection direct after the edit process is done.

On the other hand I could simply enable 'version=<n>&redirect=yes' for people who want to have redirects in older versions.

comment:5 Changed 15 years ago by Martin Scharrer

(In [6815]) tracserversideredirect/plugin.py:: Added support for redirect=yes URL

argument to enable redirection of older wiki versions. See #6001.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Martin Scharrer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.