Tags:
create new tag
, view all tags
The current MetaDataRendering is inconsistent which causes several problems, as discussed in RenderMetaInOtherTemplates, InconsistentApiCallsInRendering, TopicChildren, MetadataSucks, SimplifyInternalMetaDataHandling, TWikiFormsDiffRendering. The official doc is in TWiki.TWikiMetaData.

Current spec:

  • %META{}% variables are rendered only in the template of the view script.
  • %ANYOTHER{}% variables are rendered in topic text and templates/skins

Proposed new spec:

  • Make this consistent, e.g. render all variable (meta and others) at all times (view, rdiff, oops etc).

At first, the implementation looks like straight forward:

  • Add TWiki::handleMetaTags to TWiki::handleCommonTags
  • Remove the extra call to TWiki::handleMetaTags in the view script.

There is one complication: TWiki::handleMetaTags expects the meta object, which is not known to TWiki::handleCommonTags. Further, the meta data has already been stripped from the text data when TWiki::handleCommonTags is called.

This enhancement should go hand in hand with SimplifyInternalMetaDataHandling.

-- PeterThoeny - 07 Sep 2003

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-01-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.