data/TWiki/VarSCRIPTURL2.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
head	1.2;
colas@0
     2
access;
colas@0
     3
symbols;
colas@0
     4
locks; strict;
colas@0
     5
comment	@# @;
colas@0
     6
colas@0
     7
colas@0
     8
1.2
colas@0
     9
date	2008.01.22.03.21.30;	author TWikiContributor;	state Exp;
colas@0
    10
branches;
colas@0
    11
next	1.1;
colas@0
    12
colas@0
    13
1.1
colas@0
    14
date	2006.06.25.16.26.29;	author TWikiContributor;	state Exp;
colas@0
    15
branches;
colas@0
    16
next	;
colas@0
    17
colas@0
    18
colas@0
    19
desc
colas@0
    20
@buildrelease
colas@0
    21
@
colas@0
    22
colas@0
    23
colas@0
    24
1.2
colas@0
    25
log
colas@0
    26
@buildrelease
colas@0
    27
@
colas@0
    28
text
colas@0
    29
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
colas@0
    30
%META:TOPICPARENT{name="TWikiVariables"}%
colas@0
    31
#VarSCRIPTURL2
colas@0
    32
---+++ SCRIPTURL{"script"} -- URL of TWiki script
colas@0
    33
   * Syntax: =%<nop>SCRIPTURL{"script"}%=
colas@0
    34
   * Expands to: =%SCRIPTURL{"script"}%=
colas@0
    35
   * 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%=
colas@0
    36
   * __%X% Note:__ In most cases you should use =%<nop>SCRIPTURLPATH{"script"}%= instead, as it works with URL rewriting much better
colas@0
    37
   * 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
    38
colas@0
    39
@
colas@0
    40
colas@0
    41
colas@0
    42
1.1
colas@0
    43
log
colas@0
    44
@buildrelease
colas@0
    45
@
colas@0
    46
text
colas@0
    47
@d1 1
colas@0
    48
a1 1
colas@0
    49
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
colas@0
    50
a3 1
colas@0
    51
colas@0
    52
d9 1
colas@0
    53
a9 1
colas@0
    54
   * Related: [[#VarPUBURL][PUBURL]], [[#VarSCRIPTNAME][SCRIPTNAME]], [[#VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[#VarSCRIPTURL][SCRIPTURL]], [[#VarSCRIPTURLPATH][SCRIPTURLPATH]], [[#VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]]
colas@0
    55
@