• 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.

The SVN Range in ItemTemplate should not include the date, only the build number. The formula

* Set REV = %CALC{"$SUBSTITUTE(%WIKIVERSION%,.*Rev:,,,r)"}% 

Worked differently on TWiki.org than on Develop:

I wanted also to be rid of the $, but the following failed on TO:

Any help appreciated.

-- MC

Could it be because %WIKIVERSION% (TWiki-6.1.0-trunk, Sun, 02 Jul 2023, build 31075) contains a comma?

CC

Ugh. Is there a quoting solution to this? That's horrid.

MC

Quting is currently not supported. Workaround: Translate the comma into an unused temp char, do the substitution, translate back: $TRANSLATE($SUBSTITUTE($TRANSLATE)))

-- PTh

Thanks but am discarding as I can't get my brain around this and am unwilling to waste any more time on GetRev.

-- MC

Undeferred, post Dakar

CC

Quoting text to escape comma is not supported at this time.

-- PTh

ItemTemplate
Summary SpreadSheetPlugin substitute working inconsistently on Develop.TWiki.org
ReportedBy MartinCleaver
Codebase

SVN Range Mon, 28 Nov 2005 build 7662
AppliesTo Extension
Component SpreadSheetPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease major
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2006-07-17 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback