diff options
Diffstat (limited to 'TWiki')
-rw-r--r-- | TWiki/TWikiUpgradeGuide.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TWiki/TWikiUpgradeGuide.mdwn b/TWiki/TWikiUpgradeGuide.mdwn index eed4c470..69624b8a 100644 --- a/TWiki/TWikiUpgradeGuide.mdwn +++ b/TWiki/TWikiUpgradeGuide.mdwn @@ -206,7 +206,9 @@ You can do the following changes using your old TWiki 01-Dec-2000 or new TWiki 0 * Added [[TWikiMetaData]] rendering. 3. Form Templates replace the TWikiCategoryTables: * Create a replacement `WebForm` topic based on `twikicatitems.tmpl` in each web that uses a Category Table. See details in [[TWikiForms]] and compare with the settings in the <code>Know2.WebPreferences</code> topic. <br />**_NOTE:_** Do not remove the `twikicatitems.tmpl` file, it is still used for topics that are of the old format. - * Searches need to be adjusted to deal with format change - if all topics are upgrades, a more specific search can be done. + * Searches need to be adjusted to deal with format change. It is possible to define a regular expression search that can deal at the same time with topics in the old format and new format. + * **_Example:_** List all topics in the Know web that have a [[Know/TopicClassification]] of [[Know/PublicFAQ]]: <br /><tt>%SEARCH\{ "[T]opicClassification.\*?(td..td|value\\=).\*?[P]ublicFAQ" casesensitive="on" regex="on" nosearch="on" web="Know"\}%</tt><br /> (The `[T]` and `[P]` is done so that search does not find the topic where this search string is located in!) + * **_Example:_** Create a link that lists all topics in the Know web with a [[Know/TopicClassification]] of [[Know/PublicFAQ]]: <br /><tt>[[%SCRIPTURL%/search%SCRIPTSUFFIX%/Know/?scope=text<br />&search=%5BT%5DopicClassification.\*%3F%28td..td%7C<br />value%5C%3D%29.\*%3F%5BP%5DublicFAQ&regex=on]\[All Public FAQ]]</tt><br />[[SCRIPTURLsearchSCRIPTSUFFIXKnowscopetextsearch5BT5DopicClassification3F28tdtd7Cvalue5C3D293F5BP5DublicFAQregexon]] 4. For each web that has a custom <code>**notedited.tmpl**</code> template, create an equivalent [[WebTopicEditTemplate]] to conform with the new [[TWIKIWEBTWikiTemplates]]. The new format replaces the `notedited.tmpl`, `notext.tmpl` and `notwiki.tmpl` templates. ### <a name="Step_10_Switch_over_to_new_insta"> Step 10: Switch over to new installation </a> @@ -259,4 +261,4 @@ In this step, you move the working 01-Sep-2001 installation to the old 01-Dec-20 * Check TWiki:Codev/KnownIssuesOfTWiki01Sep2001 for known issues of TWiki 01 Sep 2001 (production release) --- [[JohnTalintyre]] - 18 Jul 2001 <br /> -- [[MikeMannix]] - 12 Sep 2001 <br /> -- [[PeterThoeny]] - 12 Sep 2001 <br /> +-- [[JohnTalintyre]] - 18 Jul 2001 <br /> -- [[MikeMannix]] - 12 Sep 2001 <br /> -- [[PeterThoeny]] - 02 Oct 2001 <br /> |