Upgrading from the 01-Dec-2000 release to the new TWiki 01-Sep-2001
The latest version of TWiki (01-Sep-2001) involves several major new features and numerous enhancements of the last full version (01-Dec-2001). The file system set-up is almost identical, but much of the underlying data structure and processes are new. With all the changes, the upgrade procedure is straightforward, and your existing page data is imported directly.
The 01 Sep 2001 release includes the following new features and enhancements:
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: <HI>...<H6>. Set depth.
The TWiki directory structure remains the same, with one exception, the new lib/TWiki/Plugins
directory tree to for the main configuration file, library, internal modules and the new Plugin modules. Pre-existing files were formerly in bin
.
Follow this step-by-step guide to upgrade the 01 Dec 2000 version to the 01 Sep 2001 release, and import your original page data:
bin
, pub
, data
, templates
)
mkdir -p ~/tmp/
cd ~/tmp
unzip ~/TWiki20001201.zip
twiki
):
mv ~/tmp/TWiki*.html $TWIKIROOT
mv ~/tmp/index.html $TWIKIROOT
mv ~/tmp/readme.txt $TWIKIROOT
mv ~/tmp/license.txt $TWIKIROOT
twiki/bin
directory: ( twiki/bin
)
mv $TWIKIROOT/bin $TWIKIROOT/bin.old
twiki/bin
location, i.e.
mv ~/tmp/bin $TWIKIROOT/bin
wikicfg.pm
into the new wikicfg.pm
. We suggest using diff -c
to compare the two files if you have made heavy changes to the file:
diff -c $TWIKIROOT/bin.old/wikicfg.pm $TWIKIROOT/bin/wikicfg.pm | less
mv $TWIKIROOT/bin.old/somescript $TWIKIROOT/bin/
twiki/templates
directory: ( twiki/templates
)
mv $TWIKIROOT/templates $TWIKIROOT/templates.old
twiki/templates
location:
mv ~/tmp/templates $TWIKIROOT/templates
twiki/pub/TWiki
directory to your installation: ( twiki/pub
)
mv ~/tmp/pub/TWiki $TWIKIROOT/pub/
twiki/pub/twikilogo*
image files to your installation:
mv ~/tmp/pub/twikilogo* $TWIKIROOT/pub
TWiki
directory and its subdirectory and files. The files must be writable by the CGI scripts (usually user "nobody").
twiki/data/TWiki
directory to your installation: ( twiki/data
)
mv ~/tmp/data/TWiki $TWIKIROOT/data/
TWiki
directory and its files. The files must be writable by the cgi-scripts (usually user "nobody")
twiki/data/Test
directory to your installation,
mv ~/tmp/data/Test $TWIKIROOT/data/
TWikiRegistration
moved from TWiki.Main to TWiki.TWiki. In case you customized TWikiRegistration
, merge your changes back into TWiki.TWikiRegistration
, then delete $TWIKIROOT/data/Main/TWikiRegistration*
.
TWikiPreferences
into TWiki.TWikiPreferences
.
WebPreferences
topics in all your webs into WebPreferences
WebPreferences
topics in all your webs to reflect the following:
WEBTOPICLIST
should use WebChanges
for "Changes"
, and WebIndex
for "Index"
:
| <a href="WebChanges">Changes</a>
| <a href="WebIndex">Index</a>
web="all"
search: Set this new preference
Set NOSEARCHALL = on
WebSearch
topic has considerable changes. Copy the one from TWiki.TWiki
into all webs, or merge them if you made changes. To copy, do an edit-copy-edit-paste operation.
WebHome
topics in all your webs to reflect these changes:
Project hosting provided by: | Donations welcome:![]() |