Tags:
edinburgh1Add my vote for this tag create new tag
, view all tags

TopicRenamedHandler

As long as the wiki is internally directed, or on an intranet, nothing is wrong with renaming topics. But when other websites link to specific wiki pages, urls become invalid and you will loose readers. TopicRenamedHandler should help users redirect to the topic they where looking for.

Mechanism

When a user hits a page that does not exist, he is confronted with the page NOTE: This Wiki topic does not exist yet. It could be that the topic never existed, as the page title assumes, or that the topic once existed but the URI (topic title) was changed. Or the topic could have been deleted.

So a better title would be: This Wiki topic could not be found, followed with (in case of renamed page) a table of suggestions (possible redirect pages); in case of deleted page a heading The topic you are looking for was deleted.

It is also possible that the URI the user entered is recognized as entry in the "renamed table" and the user is shown a differently layedout page.

The suggestion table should be generated by TopicRenamedHandler: on every topic renaming, the old topic name and the new name should be stored in a lookup file. When a topic is renamed a second time, the table entry should be updated.

-- ArthurClemens - 24 Mar 2005

ExtractingTopicDataToADatabase mentioned this too.

-- MartinCleaver - 24 Mar 2005

This is related to PluginHandlerForContentMove.

-- PeterThoeny - 01 Jun 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-06-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.