data/TWiki/VarSCRIPTURL2.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/VarSCRIPTURL2.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,55 @@
     1.4 +head	1.2;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.2
    1.12 +date	2008.01.22.03.21.30;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.1;
    1.15 +
    1.16 +1.1
    1.17 +date	2006.06.25.16.26.29;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	;
    1.20 +
    1.21 +
    1.22 +desc
    1.23 +@buildrelease
    1.24 +@
    1.25 +
    1.26 +
    1.27 +1.2
    1.28 +log
    1.29 +@buildrelease
    1.30 +@
    1.31 +text
    1.32 +@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
    1.33 +%META:TOPICPARENT{name="TWikiVariables"}%
    1.34 +#VarSCRIPTURL2
    1.35 +---+++ SCRIPTURL{"script"} -- URL of TWiki script
    1.36 +   * Syntax: =%<nop>SCRIPTURL{"script"}%=
    1.37 +   * Expands to: =%SCRIPTURL{"script"}%=
    1.38 +   * Example: To get the authenticated version of the current topic you can write  =%<nop>SCRIPTURL{"viewauth"}%/%<nop>WEB%/%<nop>TOPIC%= which expands to =%SCRIPTURL{"viewauth"}%/%WEB%/%INCLUDINGTOPIC%=
    1.39 +   * __%X% Note:__ In most cases you should use =%<nop>SCRIPTURLPATH{"script"}%= instead, as it works with URL rewriting much better
    1.40 +   * 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"}]]
    1.41 +
    1.42 +@
    1.43 +
    1.44 +
    1.45 +1.1
    1.46 +log
    1.47 +@buildrelease
    1.48 +@
    1.49 +text
    1.50 +@d1 1
    1.51 +a1 1
    1.52 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
    1.53 +a3 1
    1.54 +
    1.55 +d9 1
    1.56 +a9 1
    1.57 +   * Related: [[#VarPUBURL][PUBURL]], [[#VarSCRIPTNAME][SCRIPTNAME]], [[#VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[#VarSCRIPTURL][SCRIPTURL]], [[#VarSCRIPTURLPATH][SCRIPTURLPATH]], [[#VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]]
    1.58 +@