Diff: Help/AddCommentPlugin

Differences between current version and predecessor to the previous major change of Help/AddCommentPlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 3 Last edited on 17 January 2022 3:00 by harold
Older page: version 2 Last edited on 26 July 2020 17:48 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 the comments and/or textbox should be initially hidden and on click expanded.  
-| 0  
+| Boolean. If true, the comments and/or textbox should be initially hidden and on click expanded.  
+| false  
 |- 
 | **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 the “Comments” header should be omitted.  
-| 0  
+| Boolean. If true, the “Comments” header should be omitted.  
+| false  
 |- 
 | **pagename** 
 | Attach to which page? 
 | current pagename 

current version

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 true, the comments and/or textbox should be initially hidden and on click expanded.

false

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 true, the “Comments” header should be omitted.

false

pagename

Attach to which page?

current pagename

Known Problems

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

Examples

Comments