Modify

Opened 16 years ago

Closed 11 years ago

#3754 closed enhancement (fixed)

[Patch] Tag redirects to existing wiki page instead of listing tagged pages

Reported by: JaeWook Choi Owned by: Steffen Hoffmann
Priority: low Component: TagsPlugin
Severity: normal Keywords: link rendering
Cc: Trac Release: 0.11

Description

If there is exisiting wiki page whose name is identical to a tag, clicking on the tag results in redirection to an existing wiki page instead of listing tagged pages.

For example, clicking on MyTag tag results in 'wiki/MyTag' wiki page instead of 'tags/?q=MyTag' if 'wiki/MyTag' page already exists.

I believe the latter, ie. listing of the tagged pages, should be more natural behavior in such situation.

Trac 0.11, Python 2.5.2, Apache HTTPD 2.2.9, TagsPlugin (r3882) on Win2K3

Attachments (1)

wiki_page_link.patch (1.9 KB) - added by fredrik.kers@… 15 years ago.
Patch that adds a config option to disable links to wiki pages

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by Alec Thomas

Priority: normallow
Type: defectenhancement

This is intentional. An option to disable the behaviour might be useful though.

comment:2 in reply to:  1 Changed 16 years ago by anonymous

The behavior is very confusing. Tag links should redirect to the tag listing pages everytime.

It's quite normal to have a topic overview page linking to some sub wiki pages. All these pages get the same tag in reason of the same topic. In this case you can't list the tagged sub pages using tags tab anymore.

comment:3 Changed 16 years ago by Alec Thomas

Yes you can: [[ListTagged(blah)]]

Changed 15 years ago by fredrik.kers@…

Attachment: wiki_page_link.patch added

Patch that adds a config option to disable links to wiki pages

comment:4 Changed 15 years ago by fredrik.kers@…

Hi!

I created a patch that adds a "wiki_page_link" option that can be used to disable links to wiki pages. See wiki_page_link.patch

comment:5 Changed 15 years ago by Adrian Fritz

Owner: changed from Alec Thomas to Michael Renzmann
Summary: Tag redirects to existing wiki page instead of listing tagged pages[Patch] Tag redirects to existing wiki page instead of listing tagged pages

comment:6 Changed 13 years ago by Steffen Hoffmann

Owner: changed from Michael Renzmann to Steffen Hoffmann

comment:7 Changed 13 years ago by Steffen Hoffmann

Keywords: link rendering added
Status: newassigned

This has been waiting for much too long, sorry.

comment:8 Changed 13 years ago by Steffen Hoffmann

(In [10621]) TagsPlugin: Control default link destination in tags cloud, refs #3754 and #9059.

Known behavior to always link to an existing wiki page with name equal to the tag is still default, but configurable by new wiki_page_link boolean option.

comment:9 Changed 11 years ago by Steffen Hoffmann

Resolution: fixed
Status: assignedclosed

In 13815:

TagsPlugin: Completing preparation for v0.7 release.

Availability of that code as stable, tagged release
closes #2429, #3359, #3610, #3624, #3677, #3754, #3864, #3947, #3983, #4078, #4277, #4503, #4799, #5523, #7787, #7857, #8638, #9057, #9058, #9059, #9060, #9061, #9062, #9063, #9149, #9210, #9521, #9630, #9636, #10032, #10416, #10636, #11096, #11147, #11152, #11274, #11302, #11658 and #11659.

Additionally there are some issues and enhancement requests showing progress,
but known to require more work to resolve them satisfactorily, specifically
refs #2804, #4200, #8747 and #9064.

Thanks to all contributors and followers, that enabled and encouraged a good
portion of this development work.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
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.