• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

they have a start / stop functionality. To make it consistent with STARTINCLUDE / STOPINCLUDE, rename:

  • TEMPLATEONLY to STARTTEMPLATEONLY
  • ENDTEMPLATEONLY to STOPTEMPLATEONLY

This has the added advantage that the variables are near by in the TWikiVariables topic.

A small change we should do before release, hence "Urgent".

-- PTh

Implemented in SVN 8437. Also, restored %NOP{...}% which was silently removed.

-- PTh

I fixed the NOP fix in SVN 8439. CC

I chose the tag names carefully. I chose compatibility with SECTION and ENDSECTION rather than STARTINCLUDE and STOPINCLUDE because SECTION..ENDSECTION can occur many times in a topic, but STARTINCLUDE...STOPINCLUDE by definition can only occur once. Since TEMPLATEONLY can occur many times, it made sense to be consistent with SECTION.

If consistency is the goal, you should really change the definition of STARTINCLUDE...STOPINCLUDE to allow it to be used more than once in a topic. Or change SECTION..ENDSECTION to STARTSECTION..STOPSECTION.

Leaving this open for feedback.

CC

Covered by Item1484

ItemTemplate
Summary Rename TEMPLATEONLY variables
ReportedBy TWiki:Main.PeterThoeny
Codebase

SVN Range Thu, 19 Jan 2006 build 8384
AppliesTo Engine
Component

Priority Urgent
CurrentState No Action Required
WaitingFor

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