Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item5350: NONWIKIWORDFLAG is not resolved

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
Go to any topic with a "Allow non WikiWord for the new topic name" checkbox, For instance on the "Create new topic" page. The html source will show a %NONWIKIWORDFLAG% string.

NONWIKIWORDFLAG is a variable in twiki.tmpl. The variable is currently only resolved in Manage.pm.

-- TWiki:Main/ArthurClemens - 11 Feb 2008

I can see 2 solutions:
  1. Manage functions are expanded for creation and copying, so the form action would contain =manage?action=create= Blrb, that will never work, as this is about putting the checkbox on view pages.
  2. NONWIKIWORDFLAG is moved to a more global rendering part in the pipeline
  3. NONWIKIWORDFLAG is removed from the html in twiki.tmpl

-- ArthurClemens - 22 Nov 2008 - 23:29

NONWIKIWORDFLAG was used to pass the checked state back to the rename screen with a reload. This can be done differently:
%IF{"$ 'URLPARAM{nonwikiword}'='on'" then="checked=\"checked\""}%
and
<input type="hidden" name="nonwikiword" value="%URLPARAM{"nonwikiword" default="on"}%" />

-- ArthurClemens - 23 Nov 2008 - 01:11

ItemTemplate edit

Summary NONWIKIWORDFLAG is not resolved
ReportedBy TWiki:Main.ArthurClemens
Codebase
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:62a671f5bfcd
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r8 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License