Modify

Opened 6 years ago

Closed 4 months ago

#3754 closed enhancement (fixed)

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

Reported by: butterflow Owned by: hasienda
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@… 4 years ago.
Patch that adds a config option to disable links to wiki pages

Download all attachments as: .zip

Change History (10)

comment:1 follow-up: Changed 6 years ago 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.

comment:2 in reply to: ↑ 1 Changed 6 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 6 years ago by athomas

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

Changed 4 years ago by fredrik.kers@…

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

comment:4 Changed 4 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 4 years ago 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

comment:6 Changed 3 years ago by hasienda

  • Owner changed from otaku42 to hasienda

comment:7 Changed 3 years ago by hasienda

  • Keywords link rendering added
  • Status changed from new to assigned

This has been waiting for much too long, sorry.

comment:8 Changed 3 years ago 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.

comment:9 Changed 4 months ago by hasienda

  • Resolution set to fixed
  • Status changed from assigned to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hasienda. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.