You are here: Foswiki>Tasks Web>Item13310 (19 Mar 2015, GeorgeClark)Edit Attach

Item13310: templates/edit.tmpl includes non-existing WikiSyntaxSummary

pencil
Priority: Normal
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component: Documentation, FoswikiTemplates
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
I tried putting in EditingShorthand, but the help is too big. WikiSyntaxSummary was a short list useful at the top of the editing page. Much more concise than EditingShorthand.

-- GeorgeClark - 18 Mar 2015

diff --git a/core/templates/edit.tmpl b/core/templates/edit.tmpl
index 01651ac..c65695d 100644
--- a/core/templates/edit.tmpl
+++ b/core/templates/edit.tmpl
@@ -8,7 +8,7 @@
 %TMPL:DEF{"pagetitle"}%<nop>%TOPIC% %MAKETEXT{"(edit)"}%%TMPL:END%
 %{----------------------------------------------------------------------}%
 %{ If an editor plugin sets EDITOR_HELP, then use it for help info }%
-%TMPL:DEF{"help"}%<div class='foswikiMakeVisible'>%INCLUDE{"%SYSTEMWEB%.%IF{"defined 'EDITOR_HELP'" then="%EDITOR_HELP%" else="WikiSyntaxSummary"}%"}%</div>%TMPL:END%
+%TMPL:DEF{"help"}%<div class='foswikiMakeVisible'>%INCLUDE{"%SYSTEMWEB%.%IF{"defined 'EDITOR_HELP'" then="%EDITOR_HELP%" else="EditingShorthand"}%"}%</div>%TMPL:END%
 %{----------------------------------------------------------------------}%
 %{ if an editor plugin sets EDITOR_MESSAGE, then use it }%
 %TMPL:DEF{"textarea"}%%IF{"{Validation}{Method}='strikeone'" then="<noscript>$percentTMPL:P{enable_js}$percent</noscript>"}%%IF{"defined 'EDITOR_MESSAGE'" then="<div class='foswikiAlert'>%EDITOR_MESSAGE%</div>"}%<div class="foswikiEditTextarea"><textarea class="foswikiTextarea foswikiEditboxStyleProportional foswikiWysiwygEdit" id="topic" data-rest-params="?%NONCE%" name="text" rows="%EDITBOXHEIGHT%" cols="%EDITBOXWIDTH%" style='%EDITBOXSTYLE%'>%TEXT%</textarea></div>%TMPL:END%

-- GeorgeClark - 18 Mar 2015

Fix checked in on Documentation task Item9693. Closing.

-- GeorgeClark - 19 Mar 2015
 

ItemTemplate edit

Summary templates/edit.tmpl includes non-existing WikiSyntaxSummary
ReportedBy GeorgeClark
Codebase
SVN Range
AppliesTo Engine
Component Documentation, FoswikiTemplates
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 19 Mar 2015, GeorgeClark
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