SiteAlias:Page; rules are defined in InterWikis. (Get more Plugins from the TWiki:Plugins web.) 
%TOC% variable generates a hierarchical table of contents from topic headings: <h1>...<h6>.
twiki/bin directory into it's own twiki/lib directory tree. The following files have been renamed and moved:
| From TWiki 01-Dec-2000: | To TWiki 01-Sep-2001: | 
|---|---|
| twiki/bin/wikicfg.pm | twiki/lib/TWiki.cfg | 
| twiki/bin/wiki.pm | twiki/lib/TWiki.pm | 
| twiki/bin/wikiaccess.pm | twiki/lib/TWiki/Access.pm | 
| twiki/bin/wikiprefs.pm | twiki/lib/TWiki/Prefs.pm | 
| twiki/bin/wikisearch.pm | twiki/lib/TWiki/Search.pm | 
| twiki/bin/wikistore.pm | twiki/lib/TWiki/Store.pm | 
twiki/lib/TWiki/Plugins directory contains the new Plugin modules.
| Before Switch: | After Switch: | ||
|---|---|---|---|
| Current 01-Dec-2000: | New 01-Sep-2001: | Obsolete 01-Dec-2000: | New 01-Sep-2001: | 
| twiki/templates/ | twiki/templates2/ | twiki/templates1/ | twiki/templates/ | 
| twiki/bin/ | twiki/bin/2/ | (overwritten) | twiki/bin/ | 
| (N/A) | twiki/bin/lib/ | (N/A) | twiki/lib/ | 
| twiki/data/TWiki | twiki/data/TWiki2 | twiki/data/TWiki1 | twiki/data/TWiki | 
| (other directories do not change) | |||
$TWIKIROOT is the root of your current 01-Dec-2000 release, ex: export TWIKIROOT=/some/dir/
twiki/bin, twiki/pub, twiki/data, twiki/templates.
mkdir -p ~/tmp/
     cp -p ~/downloads/TWiki20010901.zip ~/tmp/
     cd ~/tmp/
     unzip ~/tmp/TWiki20010901.zip
twiki ):
     mv ~/tmp/TWiki*.html $TWIKIROOT
     mv ~/tmp/index.html $TWIKIROOT
     mv ~/tmp/readme.txt $TWIKIROOT
     mv ~/tmp/license.txt $TWIKIROOT
twiki/templates2 directory, ex:
     mv ~/tmp/templates $TWIKIROOT/templates2
chmod 644 *.cgi
twiki/data/TWiki2 directory. Do the same to files attached to this web, ex:
     mv ~/tmp/data/TWiki $TWIKIROOT/data/TWiki2
     mv ~/tmp/pub/TWiki $TWIKIROOT/pub/TWiki2
twiki/data/Know2 directory, ex:
     mv ~/tmp/data/Know $TWIKIROOT/data/Know2
     mv ~/tmp/pub/Know $TWIKIROOT/pub/Know2
mv ~/tmp/data/_default $TWIKIROOT/data
     mv ~/tmp/data/Trash $TWIKIROOT/data
mv ~/tmp/data/mime.types $TWIKIROOT/data
mv ~/tmp/pub/*.gif $TWIKIROOT/pub
TWiki2 and Know2 directories and its files. The files must be writable by the cgi-scripts (usually user nobody).
nobody: The *,v RCS repository files delivered with the installation package are locked by user nobody and need to be changed the user of your cgi-scripts, i.e. www-data. A simple way to switch the locker of the RCS files is to use sed:
     for f in *,v; do sed 's/nobody\:/www-data\:/' $f > x; mv x $f; done
twiki/bin/2 directory, ex:
     mv ~/tmp/bin $TWIKIROOT/bin/2
.cgi
cp -p $TWIKIROOT/bin/somescript $TWIKIROOT/bin/2
.htaccess.txt to .htaccess and customize it, ex:
     cd $TWIKIROOT/bin/2
     mv .htaccess.txt .htaccess
     diff ../.htaccess .
     chmod 755 *.cgi
twiki/bin/lib directory, ex:
     mv ~/tmp/lib $TWIKIROOT/bin
chmod 644 *.pm
twiki/bin/wikicfg.pm into the new twiki/lib/TWiki.cfg configuration file. Use the diff command to find out the differences, ex:
     cd $TWIKIROOT/bin/lib
     diff ../wikicfg.pm TWiki.cfg
$scriptUrlPath    = "/twiki/bin/2";
     $templateDir      = "/home/httpd/twiki/templates2";
extendHandleCommonTags, extendGetRenderedVersionOutsidePRE, extendGetRenderedVersionInsidePRE from the old twiki/bin/wikicfg.pm. This is now handled by the Default plugin twiki/lib/TWiki/Plugins/Default.pm 
http://localhost/cgi-bin/view
http://localhost/cgi-bin/2/view
TWiki web.
TWiki2 web, which gets renamed to TWiki when you switch over the installation.
TWiki.TWikiRegistration, merge your changes back into TWiki2.TWikiRegistration.
TWiki.TWikiWebsTable to TWiki2.TWikiWebsTable.
TWiki web.
TWiki2.TWikiPreferences, merge the old TWiki.TWikiPreferences settings and customize it.
WebPreferences of all webs, add or change the following web preferences: (see TWiki.WebPreferences)
web="all" search:
        * Set NOSEARCHALL = on
* Set WEBTOPICLIST = [[%HOMETOPIC%][Home]] %SEP% [[WebChanges][Changes]] %SEP% [[WebIndex][Index]] %SEP% [[WebSearch][Search]] %SEP% Go <input type="text" name="topic" size="16" />
* Set DENYWEBVIEW =
        * Set ALLOWWEBVIEW =
        * Set DENYWEBRENAME =
        * Set ALLOWWEBRENAME =
* Set FINALPREFERENCES = WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME
WebSearch of all webs, replace content with this one line:
        %INCLUDE{"%TWIKIWEB%.WebSearch"}%
WebChanges of all webs, replace content with this one line:
        %INCLUDE{"%TWIKIWEB%.WebChanges"}%
twiki/templates.
twiki/templates2, which gets renamed to twiki/templates when you switch over the installation.
=<p /> tag added.
twikicatitems.tmpl in each web that used a Category Table.
notedited.tmpl template, create a WebTopicEditTemplate to conform with the new #SelectableNewTopicTemplates feature. Retired notedited.tmpl, notext.tmpl and notwiki.tmpl templates.
twiki/bin/2/view to make sure everything works as expected.
$TWIKIROOT/bin/2/TWiki.cfg and remove the /2 from $scriptUrlPath and $templateDir, ex:
     $scriptUrlPath    = "/twiki/bin";
     $templateDir      = "/home/httpd/twiki/templates";
TWiki2 web to TWiki, including attachments, ex:
     cd $TWIKIROOT/data
     mv TWiki TWiki1
     mv TWiki2 TWiki
     cd $TWIKIROOT/pub
     mv TWiki TWiki1
     mv TWiki2 TWiki
templates2 directory to templates, ex:
     cd $TWIKIROOT
     mv templates templates1
     mv templates2 templates
lib directory one level up from $TWIKIROOT/bin/lib to $TWIKIROOT/lib, ex:
     cd $TWIKIROOT
     mv bin/lib .
bin/2 to bin, ex:
     cd $TWIKIROOT/bin
     cp -p bin/2/* .
     cp -p bin/2/.htaccess .
$TWIKIROOT/bin/2
$TWIKIROOT/templates1
$TWIKIROOT/data/TWiki1
$TWIKIROOT/pub/TWiki1
~/tmp
EmptyPlugin, DefaultPlugin, and InterwikiPlugin should be preinstalled. To check the InterwikiPlugin, go to its page.
extendHandleCommonTags, extendGetRenderedVersionOutsidePRE and extendGetRenderedVersionInsidePRE in twiki/bin/wikicfg.pm:
twiki/lib/TWiki/Plugins/Default.pm
%GMTIME{"..."}% and %SERVERTIME{"..."}% variables is now "$hour:$min" instead of "hour:min". More in TWikiVariables.
| *bold* | cells, |  center aligned  | and |   right aligned | cells, span multiple columns using | empty cells |||. More in TextFormattingRules.
Net::SMTP module instead of sendmail if installed. 
<verbatim> ... </verbatim> tags instead of <pre> ... </pre> tags where appropriate. More in TextFormattingRules.
%STARTINCLUDE% and %STOPINCLUDE% variables to control what gets included of a topic. More in TWikiVariables.
$attachAsciiPath in TWiki.cfg defines which file types are stored in ASCII, otherwise, binary format is used. This means that the RCS version used should support binary files.
edit.new.tmpl has been removed and replaced by template topics in the new TWikiTemplates.
warning.txt file can appear in the data directory. It may contain diagnostic info identifying problems that need fixing. This file could get fairly large if you have a lot of problems your site - you can delete it at any time.
| Topic TWikiUpgradeGuide . { | 
| Revision r1.21 - 18 Sep 2001 - 03:44 - MikeMannix? | Copyright © 2001 by the contributing authors. 
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding Lash La Rue? Send feedback. |