colas@0: head 1.2; colas@0: access; colas@0: symbols; colas@0: locks; strict; colas@0: comment @# @; colas@0: colas@0: colas@0: 1.2 colas@0: date 2008.01.22.03.21.30; author TWikiContributor; state Exp; colas@0: branches; colas@0: next 1.1; colas@0: colas@0: 1.1 colas@0: date 2006.06.25.16.26.29; author TWikiContributor; state Exp; colas@0: branches; colas@0: next ; colas@0: colas@0: colas@0: desc colas@0: @buildrelease colas@0: @ colas@0: colas@0: colas@0: 1.2 colas@0: log colas@0: @buildrelease colas@0: @ colas@0: text colas@0: @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}% colas@0: %META:TOPICPARENT{name="TWikiVariables"}% colas@0: #VarSCRIPTURL2 colas@0: ---+++ SCRIPTURL{"script"} -- URL of TWiki script colas@0: * Syntax: =%SCRIPTURL{"script"}%= colas@0: * Expands to: =%SCRIPTURL{"script"}%= colas@0: * Example: To get the authenticated version of the current topic you can write =%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%= which expands to =%SCRIPTURL{"viewauth"}%/%WEB%/%INCLUDINGTOPIC%= colas@0: * __%X% Note:__ In most cases you should use =%SCRIPTURLPATH{"script"}%= instead, as it works with URL rewriting much better colas@0: * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarPUBURL][PUBURL]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSCRIPTNAME][SCRIPTNAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSCRIPTURL][SCRIPTURL]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSCRIPTURLPATH][SCRIPTURLPATH]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]] colas@0: colas@0: @ colas@0: colas@0: colas@0: 1.1 colas@0: log colas@0: @buildrelease colas@0: @ colas@0: text colas@0: @d1 1 colas@0: a1 1 colas@0: %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}% colas@0: a3 1 colas@0: colas@0: d9 1 colas@0: a9 1 colas@0: * Related: [[#VarPUBURL][PUBURL]], [[#VarSCRIPTNAME][SCRIPTNAME]], [[#VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[#VarSCRIPTURL][SCRIPTURL]], [[#VarSCRIPTURLPATH][SCRIPTURLPATH]], [[#VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]] colas@0: @