Diff: Help/AddCommentPlugin

Note: You are viewing an old revision of this page. View the current version.

Differences between version 2 and previous revision of Help/AddCommentPlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 2 Last edited on 26 July 2020 17:48 by harold Revert
Older page: version 1 Last edited on 17 January 2022 18:35 by harold Revert
@@ -1,7 +1,7 @@
 The **~AddComment** [[Help:WikiPlugin|plugin]] lets users attach comments to the end of a page. 
 Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes 
-wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer.  
+wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer 
  
 == Usage == 
 {{{ 
 <<AddComment order||=normal jshide||=0 mode||=show,add noheader||=0>> 
@@ -15,22 +15,22 @@
 ! Description 
 ! Default value 
 |- 
 | **jshide** 
-| Boolean. If true, the comments and/or textbox should be initially hidden and on click expanded.  
-| false  
+| Boolean if the comments and/or textbox should be initially hidden and on click expanded.  
+| 0  
 |- 
 | **order** 
-| List comments in chronological (order=normal) or reverse order (order=reverse).  
+| List comments in chronological (order=normal) or reverse order (order=reverse) 
 | normal 
 |- 
 | **mode** 
-| List of add and/or show
+| List of add and/or show. 
 | add,show 
 |- 
 | **noheader** 
-| Boolean. If true, the “Comments” header should be omitted.  
-| false  
+| Boolean if the “Comments” header should be omitted.  
+| 0  
 |- 
 | **pagename** 
 | Attach to which page? 
 | current pagename 

version 2

The AddComment plugin lets users attach comments to the end of a page. Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer

Usage

<<AddComment order||=normal jshide||=0 mode||=show,add noheader||=0>>

Arguments

Argument

Description

Default value

jshide

Boolean if the comments and/or textbox should be initially hidden and on click expanded.

0

order

List comments in chronological (order=normal) or reverse order (order=reverse)

normal

mode

List of add and/or show.

add,show

noheader

Boolean if the “Comments” header should be omitted.

0

pagename

Attach to which page?

current pagename

Known Problems

  • jshide does not work yet. Not very well tested.

Examples

Comments