Inserts the latest changes in order.

Parameters: #

  • since=n : show changes from the last n days.
  • format=(full|compact) : if "full", then display a long version with all possible info. If "compact", then be as compact as possible.


The following example inserts the changes from the past 2 days in a full format.
[{INSERT RecentChangesPlugin since=2, format=full}]

And here they are:

10BASE-T 11:41:40 jim
History of LDAP 11:41:11 jim
Z-Wave 11:28:53 jim
Z-Wave Primary Controller 11:23:36 jim
Z-Wave Controller 11:21:17 jim
Manchester code 11:18:15 jim
Z-Wave Home ID 11:13:39 jim
Z-Wave Node ID 11:11:56 jim
Network Layer 10:58:41 jim
Z-Wave Network 10:54:38 jim
Z-Wave Node 10:51:41 jim
RFC 0793 10:47:47 jim
CBOR Object Signing and Encryption 10:43:48 jim
Node 10:41:01 jim
Strategies for Using Power for Communication 10:40:06 jim
Classes of Energy Limitation 10:36:56 jim
Scaling Properties 10:35:52 jim
LoWPAN 10:35:16 jim
Low-Power and Lossy Network 10:33:30 jim
Terminology for Constrained-Node Networks 10:30:45 jim
Constrained Nodes 10:26:41 jim
Device 10:22:21 jim
Unified Extensible Firmware Interface 10:17:39 jim
EFI 10:14:40 jim
Extensible Firmware Interface 10:14:23 jim
UEFI 09:51:17 jim
Firmware 09:50:29 jim
Basic Input-Output System 09:47:05 jim
BIOS 09:44:34 jim
Web Blog_blogentry_211117_1 09:38:52 jim
WholeSubtree 17:20:08 OrangeDog Completely wrong: was describing SubordinateSubtree

Here is the same list in compact format:

10BASE-T 11:41:40
History of LDAP 11:41:11
Z-Wave 11:28:53
Z-Wave Primary Controller 11:23:36
Z-Wave Controller 11:21:17
Manchester code 11:18:15
Z-Wave Home ID 11:13:39
Z-Wave Node ID 11:11:56
Network Layer 10:58:41
Z-Wave Network 10:54:38
Z-Wave Node 10:51:41
RFC 0793 10:47:47
CBOR Object Signing and Encryption 10:43:48
Node 10:41:01
Strategies for Using Power for Communication 10:40:06
Classes of Energy Limitation 10:36:56
Scaling Properties 10:35:52
LoWPAN 10:35:16
Low-Power and Lossy Network 10:33:30
Terminology for Constrained-Node Networks 10:30:45
Constrained Nodes 10:26:41
Device 10:22:21
Unified Extensible Firmware Interface 10:17:39
EFI 10:14:40
Extensible Firmware Interface 10:14:23
UEFI 09:51:17
Firmware 09:50:29
Basic Input-Output System 09:47:05
BIOS 09:44:34
Web Blog_blogentry_211117_1 09:38:52
WholeSubtree 17:20:08

Design Requests#

1) customizable formats#

The date and time formats are hard-coded in the following lines in the plugin.
            SimpleDateFormat fmt  = new SimpleDateFormat( "dd.MM.yyyy" );
            SimpleDateFormat tfmt = new SimpleDateFormat( "HH:mm:ss" );
The request is to have the formats be customizable, either via parameters to the plugin or via global properties.

2) Another request: zebratable view#

Recent changes is one of the most important tools for users, and its display is very poor and cannot be customized. I would like to be able to change it to a zebratable with minimal space between table rows (currently huge table spacing is applied). -- Also the note above "lines in the plugin" is unclear to me -- where can I change the plugin lines? I searched the entire folder with the JSPWiki installation and cannot find these lines. -- Gregor Hagedorn, 24.8.2005

3) Specify pages#

what about a parameter 'page' to specify one or more pages that we would like to see the recent changes. This is somewhow a watch page list. --Adler

In the same idea, is it possible to filter the result for one user (or wiki group)? This is somehow a egocentric plugin “recent changes made by UserABC” -- Patrick A. (like anonymous)

4) Limit#

parameter to limit the number of results --Adler

5) Watch List#

what about defining a page with links to all pages you want to follow up / watch. Then this plugin, RecentChangesPlugin, could look into that page you defined and display only a list of the recent changes of those pages. Example:

* My watch list
[{RecentChangesPlugin since=2, watchlist='MyWatchPage'}]
that would display something like (assuming that only 1 page was changed within 1 day)

* My watch list
[linkToPage1] 	20:25:46 	Author Name


5) Default value#

should be there a default value? and if since=all, it should display for ever... This default value could be definied in the


since=all would just display every edit for every page, which is out of scope for a "Recent Changes" plugin


I started using JSPlugin to generate the contents of RecentChanges in table format - which you can wrap in the sortable and table-filter wiki markup.
See JSPluginRecentChangesExample for details. --Nascif Abousalh-Neto, 25-Aug-2006
Back to JSPWikiPlugins.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2008 13:26 by -jim