• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Replace all "Main" with "%MAINWEB%" in TWiki Web. This makes changing the name of Main Web a lot easier.

On Twiki installations, with renamed Main Web, updating TWiki is a nightmare, as any occurence of Main has to be changed to %MAINWEB% again.

Resolution: The TWiki installation archive should not contain any hardcoded names for Web references. The Main Web and the TWiki Web can be accessed through the variables %MAINWEB% and %TWIKIWEB% respectively. Any page in these webs should changed to achieve this!

Can you be more specific? I removed all references to Main once before. A quick grep in TWiki web doesn't throw up any obvious references to Main (other than interwiki links to TWiki:Main, of course)


Yes, sorry. Maybe I was a bit to fast with opening this bug. Examining the TWiki Web of the latest 4.0.2 release shows, that there are in fact nearly no direct references to the Main web. Exceptions are METADATAs and e.g. TWiki.TWikiHistory.txt, TWiki.TWikiFuncDotPm.txt, TWiki.TWikiScripts.txt, Main.WebHome, _default.WebNotify

So, while my last attempt to migrate from 4.0.1 to 4.0.2 (which I canceled for now because it took to long) I got many more (false) positives and didn't cheched them precisely. I apologize.

n.p. Discarding.


Summary Replace all "Main" with "%MAINWEB%" in TWiki Web
ReportedBy TWiki:Main.TobiasRoeser

SVN Range Fri, 07 Apr 2006 build 9743
AppliesTo Engine

Priority Normal
CurrentState No Action Required


TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-04-15 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback