You are here: Foswiki>Tasks Web>Item256 (03 Jul 2009, MichaelDaum)Edit Attach

Item256: Remove NONWIKIWORDFLAG from nat skin

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: NatSkin
Branches:
Reported By: ArthurClemens
Waiting For: Main.MichaelDaum
Last Change By: MichaelDaum
NONWIKIWORDFLAG is no longer supported. Default twiki.tmpl now uses:

%TMPL:DEF{"nonwikiwordwarning"}%<p><input type="checkbox" id="nonwikiword" name="nonwikiword" %IF{"$ 'URLPARAM{nonwikiword}'='on'" then="checked=\"checked\""}% /><label for="nonwikiword">%MAKETEXT{"Allow non <nop>WikiWord for the new topic name"}%</label><br />%TMPL:P{"nonwikiwordhelp"}%</p>%TMPL:END%

%TMPL:DEF{"nonwikiwordhelp"}% %MAKETEXT{"It's usually best to choose a <a target='WikiWord' class='twikiPopUp' href='[_1]' rel='nofollow'>WikiWord</a> for the new topic name, otherwise automatic linking may not work. Characters not allowed in topic names, such as spaces will automatically be removed." args="%SCRIPTURLPATH{"view"}%/%SYSTEMWEB%/WikiWord"}%%TMPL:END%

%TMPL:DEF{"nonwikiwordallowed"}%<input type="hidden" name="nonwikiword" value="%URLPARAM{"nonwikiword" default="on"}%" />%TMPL:END%

%TMPL:DEF{"nonwikiword"}%%IF{"$HIDE_NON_WIKI_WORD_WARNINGS!='on'" then="$percntTMPL:P{$quotnonwikiwordwarning$quot}$percnt" else="$percntTMPL:P{$quotnonwikiwordallowed$quot}$percnt"}%%TMPL:END%

To get the "Allow ..." checkbox on a page, insert this in the template:
%TMPL:P{"nonwikiword"}%

Please copy this to nat skin.

-- ArthurClemens - 23 Nov 2008

There's no more NOWIKIWORDFLAG in NatSkin.

-- MichaelDaum - 03 Jul 2009

ItemTemplate edit

Summary Remove NONWIKIWORDFLAG from nat skin
ReportedBy ArthurClemens
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Extension
Component NatSkin
Priority Normal
CurrentState Closed
WaitingFor MichaelDaum
Checkins
ReleasedIn
Topic revision: r3 - 03 Jul 2009, MichaelDaum
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