Feature Proposal: Formatted Search Summary with Expand Var
Motivation
Add a
$summary(expandvar) to the
FormattedSearch to get a summary with expanded variables. Useful for
TWikiApplications.
Description
The
FormattedSearch already supports a
$summary(showvarnames) to show the variable names, e.g.
%TOC% is shown as TOC (without the percent).
With the new
$summary(expandvar) feature it is possible to get the variable expanded.
Related, the default
$summary() strips all variables. It also strips all percent signs. This change retains the percent signs and
<nop> tags, so that text with an escaped variable gets rendered identical in the rendered text and topic summary, e.g. as
%TOC%. This is relevant for related work going on,
TipOfTheDayFeatureRequest.
Impact and Available Solutions
Documentation
In
FormattedSearch change
$summary(showvarnames) add
$summary(expandvar):
$summary(showvarnames) |
Topic summary, with %ALLTWIKI{...}% variable names shown unexpanded in raw format |
$summary(expandvar) |
Topic summary, with %ALLTWIKI{...}% variables expanded (at a performance cost) |
Examples
Implementation
This is now in DEVELOP branch, r3592.
--
PeterThoeny - 04 Feb 2005
Discussion: