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
--
PeterJones - 12 Nov 2007
Answer
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

), 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