Upgrade from TWiki 01-Dec-2000 to TWiki 01-Sep-2001 (previous to new full release)
The latest version of TWiki (01-Sep-2001) involves several major new features and numerous enhancements to 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 from the 01-Dec-2000 TWiki to the 01-Sep-2001 release, importing your original page data and related files:
Two major areas of TWiki functionality - templates and Category Tables (input forms associated with a topic)- are entirely different in the new TWiki. Therefore, if you've customized your templates or use Category Tables, you should read those sections before starting your upgrade. That way, converting old templates and pages to new will be flow along smoothly!
bin
, pub
, data
, templates
) to a temporary directory (it's a good idea to do a full back-up first):
mkdir -p ~/tmp/
mv $TWIKIROOT/* ~/tmp/
cd $TWIKIROOT
unzip ~/TWiki20010901.zip
twiki
):
mv ~/tmp/TWiki*.html $TWIKIROOT
mv ~/tmp/index.html $TWIKIROOT
mv ~/tmp/readme.txt $TWIKIROOT
mv ~/tmp/license.txt $TWIKIROOT
.cgi
tmp
directory, ex:
mv ~/tmp/bin/somescript $TWIKIROOT/bin/
chmod 755 *.cgi
tmp
directory, ex:
mv ~/tmp/bin/somescript $TWIKIROOT/bin/
TWiki.cfg
lib/TWiki.cfg
configuration file, which replaces the wikicfg.pm
file. New settings to watch for:
EmptyPlugin
, DefaultPlugin
, and InterwikiPlugin
should be preinstalled. To check the InterwikiPlugin, go to its page.
=<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.
pub
directory to the new installation: ( $TWIKIROOT/pub
)
mv ~/tmp/pub/TWiki/somefiles.ext $TWIKIROOT/pub/
mv ~/tmp/pub/TWiki/somedirectory $TWIKIROOT/pub/
tmp/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")
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:
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:
.htaccess
, add the rename
script
* You may want to add [ALLOW|DENY][WEB|TOPIC]RENAME
in some places, like TWikiPreferences, WebPreferences and TWikiUsers
%GMTIME{"..."}%
and %SERVERTIME{"..."}%
variables. Format 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 TWiki Template System )
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.
Project hosting provided by: | Donations welcome:![]() |