• This web contains the official documentation of the
TWiki-5.0 Release, code named
HelsinkiRelease. It is a read-only web for reference.
• This is an older release, see
TWiki-6.1 for the latest release documentation.
SCRIPTURL{"script"} -- URL of TWiki script
- Syntax:
%SCRIPTURL{"script"}%
- Expands to:
https://www.twiki.org/cgi-bin/script
- Example: To get the authenticated version of the current topic you can write
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to https://www.twiki.org/cgi-bin/viewauth/TWiki05x00/VarSCRIPTURL2
- Example: How to link to another topic with a URL parameter:
[[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
-
Note: In most cases you should use %SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better
- Related: PUBURL, SCRIPTNAME, SCRIPTSUFFIX, SCRIPTURL, SCRIPTURLPATH, SCRIPTURLPATH{"script"}, TWikiScripts