Item9700: Dubious macro %QUERYPARAMSTRING% used only once
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
The macro (?) %QUERYPARAMSTRING% is used only once, in
viewtopicactionbuttons.tmpl
:
%TMPL:DEF{"printable"}%<span><a href='%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?cover=print%QUERYPARAMSTRING%%REVARG%' rel='nofollow' %MAKETEXT{"title='Printable version of this topic' accesskey='p'>&Print version"}%</a></span>%TMPL:END%
What interprets it is some code in Foswiki::UI::View.
This might be legacy cruft, and we could use ;%
QUERYSTRING% instead. (
%QUERYPARAMSTRING%
adds a
;
before any existing parameters).
--
DanDascalescu - 17 Sep 2010
QUERYPARAMSTRING is a template Token. They are expanded through simple substitution by the script rendering the template. See
Item9702
--
GeorgeClark - 18 Sep 2010