Ticket #3754 (assigned enhancement)

Opened 5 years ago

Last modified 1 month ago

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

Reported by: butterflow Assigned to: hasienda (accepted)
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

wiki_page_link.patch (1.9 kB) - added by fredrik.kers@absilion.com on 02/11/10 14:21:14.
Patch that adds a config option to disable links to wiki pages

Change History

(follow-up: ↓ 2 ) 09/19/08 01:16:55 changed by athomas

  • priority changed from normal to low.
  • type changed from defect to enhancement.

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

(in reply to: ↑ 1 ) 11/07/08 11:49:24 changed 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.

11/07/08 16:17:08 changed by athomas

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

02/11/10 14:21:14 changed by fredrik.kers@absilion.com

  • attachment wiki_page_link.patch added.

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

02/11/10 14:23:35 changed by fredrik.kers@absilion.com

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

03/05/10 02:26:43 changed by AdrianFritz

  • owner changed from athomas to otaku42.
  • summary changed from Tag redirects to existing wiki page instead of listing tagged pages to [Patch] Tag redirects to existing wiki page instead of listing tagged pages.

08/28/11 00:00:53 changed by hasienda

  • owner changed from otaku42 to hasienda.

08/28/11 00:03:01 changed by hasienda

  • keywords set to link rendering.
  • status changed from new to assigned.

This has been waiting for much too long, sorry.

08/28/11 00:08:41 changed by hasienda

(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.


Add/Change #3754 ([Patch] Tag redirects to existing wiki page instead of listing tagged pages)




Change Properties
Action