DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:changes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:changes [2021-01-26 23:50] – version upped andiplugin:changes [2024-02-06 08:06] (current) – [Output renderer] Aleksandr
Line 6: Line 6:
 email      : dokuwiki@cosmocode.de email      : dokuwiki@cosmocode.de
 type       : syntax type       : syntax
-lastupdate : 2021-01-25 +lastupdate : 2023-12-14 
-compatible : Elenor Of Tsort, Frusterick Manners, Greebo, Hogfather+compatible : Elenor Of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
Line 21: Line 21:
  
 ===== Download and Installation ===== ===== Download and Installation =====
-[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+ 
 +[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
 Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
Line 35: Line 36:
 :!: The plugin always displays only the most recent change for every page / media file! :!: The plugin always displays only the most recent change for every page / media file!
  
-==== Whitelist/blacklist by namespace ====+==== Allowlist/blocklist by namespace ====
 By default plugin shows the changes in the entire wiki. To restrict the list of changes to a given namespace and its sub-namespaces you can specify its name either directly or using ''ns'' parameter: By default plugin shows the changes in the entire wiki. To restrict the list of changes to a given namespace and its sub-namespaces you can specify its name either directly or using ''ns'' parameter:
  
Line 47: Line 48:
  
 The first example will show the changes in all namespaces except of "foo", the second one will include "foo" and "bar" namespaces except of "bar:baz" sub-namespace. The first example will show the changes in all namespaces except of "foo", the second one will include "foo" and "bar" namespaces except of "bar:baz" sub-namespace.
 +
 +You can also exclude specific pages:
 +  {{changes>foo&excludedpages=bar}}
  
 ==== Number of changes displayed ==== ==== Number of changes displayed ====
Line 62: Line 66:
   {{changes>type = edit, minor}}   {{changes>type = edit, minor}}
  
 +==== Allowlist/blocklist changes by user ====
  
-==== Whitelist/blacklist changes by user ==== 
 To show only changes by particular users, the ''user'' parameter takes a comma-separated list of usernames: To show only changes by particular users, the ''user'' parameter takes a comma-separated list of usernames:
  
Line 75: Line 79:
  
 ==== Maximum age of change displayed ==== ==== Maximum age of change displayed ====
 +
 Filtering by age is possible, too. Just specify the maximum age in seconds. However, please note that this plugin can not display changes older than [[config:recent_days]]. Filtering by age is possible, too. Just specify the maximum age in seconds. However, please note that this plugin can not display changes older than [[config:recent_days]].
  
Line 80: Line 85:
  
 ==== Output renderer ==== ==== Output renderer ====
 +
 The changes can be rendered either as a simple list (default) or using [[:plugin:pagelist|Pagelist]] plugin. You have to install the Pagelist plugin separately, if it's not available the simple list is used instead. The renderer is selected with the "render" parameter: The changes can be rendered either as a simple list (default) or using [[:plugin:pagelist|Pagelist]] plugin. You have to install the Pagelist plugin separately, if it's not available the simple list is used instead. The renderer is selected with the "render" parameter:
  
Line 85: Line 91:
   {{changes>render = pagelist}}   {{changes>render = pagelist}}
  
-The renderers can have extra parameters (a.k.a. flags), which can be passed within parenthesis as a comma-separated list:+The renderers can have extra parameters (a.k.a. [[plugin:pagelist#flags]]), which can be passed within parenthesis as a comma-separated list:
  
   {{changes>render = list(signature)}}   {{changes>render = list(signature)}}
Line 116: Line 122:
  
 ==== Username fallback ==== ==== Username fallback ====
 +
 The plugin attempts to describe the user who made each change in the following order: The plugin attempts to describe the user who made each change in the following order:
   - If possible, the descriptive username is displayed, e.g. ''Joanna Schmidt''   - If possible, the descriptive username is displayed, e.g. ''Joanna Schmidt''
Line 132: Line 139:
  
 Please report issues in the bug tracker at https://github.com/cosmocode/changes/issues Please report issues in the bug tracker at https://github.com/cosmocode/changes/issues
- 
- 
- 
- 
  
plugin/changes.1611701416.txt.gz · Last modified: 2021-01-26 23:50 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki