Using %MAINWEB% can bite you badly

Specifically, if you do what appears to be the "proper" thing to do -- use %MAINWEB% instead of Main -- none of those references get fixed if you move a topic. Grrr.

-- Contributors: MeredithLesly

Discussion

Same problem with TWiki06x01, of course.

-- MeredithLesly - 16 May 2006

Can you elaborate more?

-- RafaelAlvarez - 16 May 2006

If a topic has a reference to Main.Foo and you move Main.Foo to another web, the reference will be updated to the new topic. If, however, you have a reference to %MAINWEB%.Foo and move the topic, then references won't be. This is actually more of a problem with TWiki, since there are many more uses of %TWIKIWEB% than %MAINWEB%.

-- MeredithLesly - 17 May 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-05-17 - MeredithLesly
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.