Tags:
create new tag
view all tags

Question

If a topic has been renamed from say TestTopica to TestTopicb

There is a history of this in the meta data of the new file.


I would like to make a list of all renamed topics in a web in order to help users find the file. Can someone suggest a method

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RH7
Web server: apache
Perl version: 5.08
Client OS: Windows Linux
Web Browser: Firefox IE
Categories: Search

-- PeterJones - 12 Nov 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Hm, maybe SearchPatternCookbook helps

-- FranzJosefGigler - 12 Nov 2007

On TWiki 4.2 you could use the new query search

%SEARCH{"moved" type="query" nosearch="on" noheader="on" nosummary="on" }%
to get the same results as described in SearchPatternCookbook.

I just don't know how to format the results properly yet.

-- FranzJosefGigler - 12 Nov 2007

Hi Franz

Thanks I didnt see that one. I'm trying the following but the pattern does not want to work. Any ideas

%SEARCH{ "META:TOPICMOVED.*" type="regex" nonoise="on" header="| *User:* | *From:* | *To:* |  *Date*: |"  format="| $wikiusername | $pattern=(^.*? from=(.*?) to=.*) | [[$topic]] | $date |" }%

-- PeterJones - 12 Nov 2007

I fear pattern doesn't support meta content properly (and you have (at least) one = too much wink ), but I'm not sure. Hope that there will be a simple format parameter for accessing all kind of meta content in the light of the query search, which is great by the way.

-- FranzJosefGigler - 12 Nov 2007

In the light of the new QuerySearch I propose to enhance the format parameter of SEARCH for TWiki 4.3 by the following 'fields':

  • $attachments.(name, attr, path, size, user, rev, date, comment )
  • $info.(author, date, format, version)
  • $parent.(name)
  • $moved.(by, date, from, to)
  • ...
This should be possible and would ease the development of TWikiApplications considerably, wouldn't it?

-- FranzJosefGigler - 12 Nov 2007

You can search for meta data such as META:MOVED, but you can't get at meta data to format the result.

-- PeterThoeny - 01 Jan 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-01-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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.