Tags:
create new tag
view all tags

SID-01194: BASEWEB returns TWiki.web with wikiword

Status: Answered Answered TWiki version: 5.0.2 Perl version: 5.8.8
Category: CategoryError Server OS: AIX 5.3 Last update: 14 years ago

Working with the WebLeftBarPersonalTemplate. I find that if your web name is a wikiword, then %<nop>BASEWEB% returns "TWiki.<webname>".

-- AaronLWalker - 2011-06-02

Discussion and Answer

This is actually spec. Some TWiki variables get expanded on topic instantiation. Details at TWikiTemplates

-- PeterThoeny - 2011-07-08

Follow-up: I think i misunderstood your question. Your issue might be a border case, possibly related to web-prefixing. If you include a topic, wikiwords are prefixed with the web-name so that links continue to work as expected. You case is at topic instantiation, so it might be a different case.

-- PeterThoeny - 2011-07-08

I'm not expressing myself very well. For example, when I am logged on, my account pull-down will read AaronWalkerLeftBar. In there, I have:

   * [[%SCRIPTURL{search}%/%BASEWEB%/?search=AaronWalker;order=modified;limit=50;reverse=on][My %BASEWEB% activities]]

If I am in a web called, say, Crazy, that link will say My Crazy activities. If the web is a wiki-word, like, NotCrazy, the link will be displayed as My TWiki.NotCrazy activities. The link works fine either way, but the display is wrong and misleading.

Can someone confirm or deny this?

-- AaronLWalker - 2011-07-14

Probably side-effect of the web-prefixing. Try to <nop> escape the variable.

-- PeterThoeny - 2011-07-14

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2011-09-08

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title BASEWEB returns TWiki.web with wikiword
SupportCategory CategoryError
TWiki version 5.0.2
Server OS AIX 5.3
Web server IBM IHS 7
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2011-09-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
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.