From d8fcd21df601e7f18b87c6a4720c8bceb0fda378 Mon Sep 17 00:00:00 2001 From: Saitama Date: Tue, 8 Jan 2019 19:35:09 +0530 Subject: [PATCH] Add autoCommentFilterTemplate to wiki --- Advanced-settings.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Advanced-settings.md b/Advanced-settings.md index a4b7def..6a75396 100644 --- a/Advanced-settings.md +++ b/Advanced-settings.md @@ -24,6 +24,30 @@ The number of seconds after which uBO throws an error when a remote server fails *** +#### `autoCommentFilterTemplate` + +uBO 1.17.7b2 and above. + +Default value is `{{date}} {{origin}}`. + +Placeholders are identified by `{{...}}`. There are currently +only three placeholders supported: + +- `{{date}}`: will be replaced with current date +- `{{time}}`: will be replaced with current time +- `{{origin}}`: will be replaced with site information on which + the filter(s) was created + +If no placeholder is found in `autoCommentFilterTemplate`, this +will disable auto-commenting. So one can use `-` to disable +auto-commenting. + +Additionally, if auto-commenting is enabled, uBO will not emit a +comment if an emitted comment would be a duplicate of the last +one found in the user filter list. + +*** + #### `autoUpdateAssetFetchPeriod` Default: `120` seconds.