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:

Certificate Algorithm ID 19:14:38 jim
SignatureAlgorithm 19:10:39 jim
Example Certificate 19:07:41 jim
Issuer 19:05:25 jim
Certificate Issuer 19:04:13 jim
SignatureValue 19:02:16 jim
TBSCertificate 19:01:35 jim
Basic Certificate Fields 18:54:36 jim
ContentCommitment 18:36:10 jim
NonRepudiation 18:35:21 jim
KeyUsage 18:34:44 jim
CA Constraint 18:11:07 jim Basic Constraints ==> BasicConstraints
BasicConstraints 18:11:06 jim Basic Constraints ==> BasicConstraints
Certificate Extensions 18:10:55 jim
ExtendedKeyUsage 18:06:35 jim
Subject Alternative Name 18:05:56 jim
Certificate Validation 17:43:11 jim
DigitalSignature 15:16:50 jim
Extended Validation Certificate 14:57:50 jim
Certificate Chain 14:42:32 jim

Here is the same list in compact format:

Certificate Algorithm ID 19:14:38
SignatureAlgorithm 19:10:39
Example Certificate 19:07:41
Issuer 19:05:25
Certificate Issuer 19:04:13
SignatureValue 19:02:16
TBSCertificate 19:01:35
Basic Certificate Fields 18:54:36
ContentCommitment 18:36:10
NonRepudiation 18:35:21
KeyUsage 18:34:44
CA Constraint 18:11:07
BasicConstraints 18:11:06
Certificate Extensions 18:10:55
ExtendedKeyUsage 18:06:35
Subject Alternative Name 18:05:56
Certificate Validation 17:43:11
DigitalSignature 15:16:50
Extended Validation Certificate 14:57:50
Certificate Chain 14:42:32

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 jspwiki.properties


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.