Tags:
create new tag
view all tags

Feature Proposal: Viewing topic text with variables expanded

Motivation

When you debug a variable's behavior or your variable use, it's handy to be able to see a topic's text with variables expanded but before it's rendered into HTML.

Description and Documentation

A new raw parameter value expandvariables is introduced. It's like raw=text, but variables are expanded.

Examples

Impact

WhatDoesItAffect: Rendering

Implementation

core/TWiki/UI/View.pm's view() is modified accordingly.

Taking this an opportunity to provide the raw parameter features explicitly, the "More ..." screen will have the following links.

-- Contributors: HideyoImazu - 2012-07-05

Discussion

If I understand correctly, only variables should be expanded, but not TML into HTML. We already have two debug modes, so how about this:

Relevant links could be shown in the "more" screen

-- PeterThoeny - 2012-07-05

Sounds good. Your suggestions are incorporated into the proposal.

-- HideyoImazu - 2012-07-05

Accepted in JerusalemReleaseMeeting2012x07x20.

-- HideyoImazu - 2012-07-20

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2013-02-18 - HideyoImazu
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.