I've added a new variable to the
TWikiAlphaRelease that can be used to find moved topics. Example:
%METASEARCH{type="topicmoved" web="Codev" topic="FindRenamedTopic" title="This topic used to exist and was moved to: "}%
This can be put in the new template topics defined in
SelectableNewTopicTemplates.
Notes:
- I decided not to extend %SEARCH% as it was already pretty complicated
- Idea is to expand this for other search later e.g. attachment names, category searches
--
JohnTalintyre - 13 Jun 2001
I have not yet studied the code.
- The new Meta data format can be searched already with the SEARCH variable, as it was possible with the old format. What are the reasons you decided to introduce the new METADATA variable?
- I do not exactly understand why you would want to put it in a new template topic. Wouldn't it show up as the default text?
--
PeterThoeny - 16 Jun 2001
Sorry for not making this clear. This arose out of people moving topics, leading other to wondering there they had gone. First I used %SEARCH% to show matches when the topic does not exist page. But I didn't find the output very satisfactory. %METASEARCH% uses
Search.pm with almost no changes, but it:
- Simplifies the seach string you need to provide
- Only gives output (which is user selectable) if there is a match
--
JohnTalintyre - 21 Jun 2001
Now I've also added %METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}%, good for find children. So name of this topic is now misleading ...
Example of use in
view.tmpl
--
JohnTalintyre - 04 Jul 2001