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

There are two classes of TML tags:

  1. function tags: built in and those registered with registerTagHandler()
  2. plugin tags: served by commonTagsHandler()

Since SVN 8345 of TWiki.pm both classes are expanded in separate rendering passes:

  1. function tags
  2. plugin tags
  3. function tags again

Each pass renders TML left-to-right-inside-out. This order (and any other) forces the plugin author to know when the inside-out rule holds and when not. And there's no way to ease the situation. The least we can do is to have as many plugins use the dakar api to register their tags properly. This holds especially for the plugins shipped with dakar.

(See also Item1432, Item1422)


While I agree in principle, it is too late to start doing this now. Deferred to Edinburgh.


Undeferred, post Dakar CC
On review, it seems to me that none (or very few) of the default plugins benefit from tag registration. This is because the tags are not taken as isolated things, but are used to decorate the topic text, which also has to be parsed. I may be wrong; if so, please open specific items to address individual plugins.



The most prominent plugin that does not use the new tag registration mechanism is the SpreadSheetPlugin. And exactly that is the reason it is mentioned in the PluginsOrder: to evaluate it before any other plugin. If it was using tag registration this would not be necessary anymore.



Actually, the SpreadSheetPlugin is an example where variable registration does not make sense because the CALC has to look at the table at/before the CALC variable.

Closing this since it is not specific. Please create a requests for each Plugin that should make use of the variable registration feature.

-- PTh

Summary plugins shipped with dakar should use registerTagHander()
ReportedBy TWiki:Main.MichaelDaum

SVN Range Wed, 18 Jan 2006 build 8367
AppliesTo Extension
Component .*Plugin
Priority Urgent
CurrentState Closed


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-08-16 - 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