Item5350: NONWIKIWORDFLAG is not resolved
Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component:
Branches:
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:
-
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.
-
NONWIKIWORDFLAG
is moved to a more global rendering part in the pipeline
-
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