• 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 Item1422 fix to allow nested evaluation of NOP{} has been reverted. This breaks now registrations: They contain text within NOP{}. For example, in test registration Main.FooBar2, the administrator note and text below should not be carried over into the user topic.

Possible workaround is to avoid MAKETEXT and to move the part between NOP{} to a document topic.

-- PTh


The alternative is to deprecate the overloaded NOP syntax in favour of a better solution. For example,
<templateonly>
....
</templateonly>
which is not only consistent with other TML block tags (such as verbatim and noautolink), it is also more intention-revealing.

CC

I like the sound of CCs suggestion for templates - a mild deprecation will help clean the parser as well, later on.

-- SP

I think the templateonly tag is OK. We are so short before release, is it safe to change the code for this? For Dakar it might be better to externalize the NOP{} with MAKETEXT into the docs.

If the templateonly tag gets implemented we should follow the TWiki:Codev.ProcessToDocUndocumentedStuff process to deprecate NOP{}.

-- PTh

Actualy I think <templateonly> is pretty safe, but in the interests of minimising changes before the release, I suggest we defer that until Edinburgh and fix the NOP usage in the new user template.

Can someone do that please? Get the NewUserTemplate working properly?

CC

After reviewing the template, that's bloody hard to do. Also, the XML-like tag is not a good idea for various complex reasons. So I added:

%TEMPLATEONLY% ... %ENDTEMPLATEONLY% (c.f. SECTION..ENDSECTION). The %TEMPLATEONLY% appears as normal in the template topic when viewed, but when the topic is used to create a new topic, it is removed.

SVN 8402

CC

ItemTemplate
Summary Reverted NOP{} change breaks registration - NEED HELP
ReportedBy TWiki:Main.PeterThoeny
Codebase

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

Priority Urgent
CurrentState Closed
WaitingFor

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