Question
Is it OK to change TWIKITOOLNAME to a locally meaningful name? (Is that why the variable is there?) Is that expected or just acceptable or discouraged?
I tried to start a discussion of this in Codev (see
ChangingTWikiToolName), where I provide some details, but didn't get any nibbles. Maybe it was too obvious a question with a very straightforward answer, and I should have asked it here?
Oct. 10: I've now seen a few TWiki sites which appear to have changed TWIKITOOLNAME the way I was envisioning. If this is recommended or acceptable, what is the best way to change it? In the Dec 2001 release TWIKITOOLNAME is not defined on
TWikiPreferences, but I could certainly add it there. (I can't see how the other webs did it because I can't edit their
TWikiPreferences without joining there TWiki and logging in, which I don't really want to do just to look at the page.)
- TWiki version: 01 Dec 2001
- Web server:
- Server OS:
- Web browser:
- Client OS:
--
MitchellModel - 09 Oct 2002
Answer
Yes it is OK to do that, thus it being a variable, but you access it from your TWiki.cfg file (in the
bin/lib directory) not from your TWiki preferences page.
The only cases that this might cause a problem is if any page assumes that
WIKITOOLNAME is the site name or the documenation web (which could happen, but would be very easy to fix).
BTW: You don't need to subscribe to a twiki site to examine the topic raw text, just add ?raw=true to the end of the URL.
--
EdgarBrown - 12 Oct 2002
Thank you -- that's just the information I needed.
BTW is very cool; thanks. Is there someplace where hints like this are listed ? There should be.
--
MitchellModel - 14 Oct 2002
TWikiRelease01Dec2001 defines the tool name in lib/TWiki.cfg, later relreases like
TWikiBetaRelease define it in the
TWikiPreferences. Reviewing the site-level preferences is one step of the installation, so admins should dicover that.
--
PeterThoeny - 14 Oct 2002