NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
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:
-
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