Modify

Opened 3 years ago

Closed 3 years ago

#9056 closed defect (duplicate)

TagsPlugin: Renamed tagged pages are not handled correctly

Reported by: anonymous Owned by: hasienda
Priority: normal Component: TagsPlugin
Severity: normal Keywords: wiki rename IWikiChangeListener
Cc: rjollos, otaku42 Trac Release: 0.12

Description

If a tagged page is renamed, the tags are no longer shown under the page with the
new name and clicking on the tags in the tag cloud leads to the old page name.

Attachments (0)

Change History (4)

comment:1 in reply to: ↑ description Changed 3 years ago by hasienda

  • Cc rjollos otaku42 added
  • Keywords wiki rename IWikiChangeListener added
  • Status changed from new to assigned

Replying to anonymous:

If a tagged page is renamed, the tags are no longer shown under the page with the
new name and clicking on the tags in the tag cloud leads to the old page name.

Sure, this is much less than optimal. In fact, with wiki rename functionality there has been a new interface trac.wiki.api.IWikiChangeListener defined to handle just that. So this is the underlying task. Patch welcome.

comment:2 Changed 3 years ago by hasienda

  • Trac Release changed from 0.11 to 0.12

This is definitive a Trac 0.12 feature.

comment:3 Changed 3 years ago by hasienda

Regarding IWikiChangeListener my assertions have been plain wrong, sorry.

In fact it is there for ages (seen in the wiki system rework more than 6 years ago), while the new method wiki_page_renamed(page, old_name) has been added with t:r9362 more recently.

This method is what is missing from the IWikiChangeListener implementation and has to be added.

comment:4 Changed 3 years ago by hasienda

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

Despite looking for duplicates I've noticed only now, there is #8638, sorry. Please follow-up there.

Add Comment

Modify Ticket

Action
as 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.