Item9700: Dubious macro %QUERYPARAMSTRING% used only once

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: DanDascalescu
Waiting For:
Last Change By: CrawfordCurrie
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
 

ItemTemplate edit

Summary Dubious macro %QUERYPARAMSTRING% used only once
ReportedBy DanDascalescu
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Low
CurrentState No Action Required
WaitingFor
Checkins distro:242418bc87c8
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 21 Dec 2014, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy