2018-06-21 07:36:15 +00:00
|
|
|
title: $:/plugins/tiddlywiki/comments/config
|
|
|
|
|
|
|
|
\define select(description,filter)
|
|
|
|
<$button>
|
|
|
|
<$action-setfield $tiddler="$:/config/Comments/EnableFilter" $value=<<__filter__>>/>
|
|
|
|
$description$
|
|
|
|
</$button>
|
|
|
|
\end
|
|
|
|
|
2018-08-07 20:37:07 +00:00
|
|
|
! Wiki Comments
|
|
|
|
|
|
|
|
<$checkbox tiddler="$:/config/Comments/EnableWikiComments" field="text" checked="yes" unchecked="no" default="no"> <$link to="$:/config/Comments/EnableWikiComments">Allow wiki-level comments as well as tiddler comments</$link> </$checkbox>
|
|
|
|
|
|
|
|
! Tiddler Comments
|
|
|
|
|
2018-06-21 07:36:15 +00:00
|
|
|
This filter expression determines which tiddlers will have commenting enabled:
|
|
|
|
|
|
|
|
<$edit-text tiddler="$:/config/Comments/EnableFilter" tag="input"/>
|
|
|
|
|
|
|
|
Or you can choose a preselected filter:
|
|
|
|
|
|
|
|
* <<select "All tiddlers except system tiddlers" "[all[current]!is[system]]">>
|
|
|
|
* <<select "Only tiddlers tagged 'commentable'" "[all[current]tag[commentable]]">>
|
|
|
|
* <<select "Disable all commenting" "">>
|