• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5608: ScriptUrlPaths is not documented

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   major  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


As far as I can tell, there is no doc describing the function of {ScriptUrlPaths} and no entry for it in TWiki.spec

There is some sideswipe documentation in TWiki:Codev.ShorterURLs and another mention in TWiki:Codev.ShorterUrlSupport, but that's all I can find.

-- TWiki:Main/CrawfordCurrie - 07 May 2008

BTW Markus: from http://twiki.org/cgi-bin/viewfile/Codev/GeorgetownReleaseMeeting2008x05x12?rev=2;filename=GeorgetownMinutes2008x05x12.txt [08/05/12 22:04] <uebera||> Someone could run grep on the repository and see who introduced it and whether it's commented. - that's how I found out it wasn't documented in the first place frown

-- TWiki:Main.CrawfordCurrie - 13 May 2008

I feared that there may be no comment, but either it is used or not. If it is used, we can track down who committed the change and (while trying to analyse the code) ask the respective person what s/he wanted to achieve. If it is not used and cannot be found elsewhere in the code, it obviously doesn't serve a purpose (yet), so we can safely remove it for now, no? smile

-- TWiki:Main.MarkusUeberall - 13 May 2008

Update: From the comments in bin/twiki it looks as if the intention for {ScriptUrlPaths} was to control which script is to be called for individual 'actions' simply by changing/introducing a definition instead of moving/replacing the script residing in the default 'script directory' itself. Also, it is described/used accordingly in TWiki::getScriptUrl(.): "The default script url is taken from {ScriptUrlPath}, unless there is an exception defined for the given script in {ScriptUrlPaths}." However, as of 4.2.0, even if defined within LocalSite.cfg, these definitions don't show up on the TWiki Configuration page. This should at least be documented where {ScriptUrlPath} is defined.

Also, some plugins as well as the .htaccess.txt templates don't honor/mention the fact that a specific {ScriptUrlPaths}{script} definition could take precedence 'elsewhere' (i.e., wherever the above getScriptUrl(.) method is used instead)...

-- TWiki:Main.MarkusUeberall - 13 May 2008

Sounds good, Markus. How about having a go at drafting an entry in TWiki.spec that describes the parameter? I'd be happy to double-check what you write. It would make sense to add a not to .htaccess.txt as well. There's a good opportunity now to clear this up for 4.2.1.


-- TWiki:Main.CrawfordCurrie - 16 May 2008

Not a release blocker.

Downgrading to Normal

-- TWiki:Main.KennethLavrsen - 27 May 2008

This has been added to TWiki.spec a long time ago. Closing.

-- TWiki:Main.PeterThoeny - 12 Jun 2010

Summary ScriptUrlPaths is not documented
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-5.0.0, Sun, 04 May 2008, build 16770
AppliesTo Engine

Priority Normal
CurrentState Closed


TargetRelease major

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2010-06-12 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback