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.

Example:#

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:

11.03.2010
Multi Version File Provider21:53:30165.219.245.62Fixed a bunch more typos
Insert Page Tag14:42:48192.109.190.88
10.03.2010
FAQRSS22:23:41Real_Gagnon
Visions22:19:29Allhours
Answer Me22:13:36Allhours
User List20:05:09Allhours
Inter Wiki20:01:50Allhours
TODO List19:52:23Allhours
Migrating From Media Wiki19:50:06Allhours
Wiki Category19:44:56Allhours
Aggregate Plugin19:34:36Allhoursminor wiki gardening
Query Plugin19:32:02Allhoursminor wiki gardening
Link Index Plugin19:24:50Allhoursminor wiki gardening
JSP Wiki Plugins19:17:59Allhoursminor wiki gardening
Contributed Templates19:15:20Allhours
Getting Involved18:45:39Allhoursminor wiki gardening
Pagename_table18:38:1686.111.21.34
Main 217:52:5886.111.21.34
Main 2/2_2.jpg17:49:5586.111.21.34
Pagename_test17:45:0886.111.21.34
Wiki Attachments/Dubin.JPG16:44:1976.17.236.155
Wiki Attachments/beautiful.JPG16:43:5176.17.236.155
Wiki Attachments/Me in Ireland.JPG16:43:2876.17.236.155
Wiki Attachments/Cliffs of Moher.JPG16:43:0676.17.236.155
JSP Wiki Documentation/layout.css10:26:5861.164.77.110test


Here is the same list in compact format:

11.03.2010
Multi Version File Provider21:53:30
Insert Page Tag14:42:48
10.03.2010
FAQRSS22:23:41
Visions22:19:29
Answer Me22:13:36
User List20:05:09
Inter Wiki20:01:50
TODO List19:52:23
Migrating From Media Wiki19:50:06
Wiki Category19:44:56
Aggregate Plugin19:34:36
Query Plugin19:32:02
Link Index Plugin19:24:50
JSP Wiki Plugins19:17:59
Contributed Templates19:15:20
Getting Involved18:45:39
Pagename_table18:38:16
Main 217:52:58
Main 2/2_2.jpg17:49:55
Pagename_test17:45:08
Wiki Attachments/Dubin.JPG16:44:19
Wiki Attachments/beautiful.JPG16:43:51
Wiki Attachments/Me in Ireland.JPG16:43:28
Wiki Attachments/Cliffs of Moher.JPG16:43:06
JSP Wiki Documentation/layout.css10:26:58


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:
__MyWatchPage__
linkToPage1
linkToPage2
linkToPage2
__MyPersonalPage__

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

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

--Adler

Is this example correct? Because i don't have the function with watchlist, it doesn't work! Greetings from Germany ;-) Here is an example, how i made it: MyWatchPage

11.03.2010
Multi Version File Provider21:53:30165.219.245.62Fixed a bunch more typos
Insert Page Tag14:42:48192.109.190.88
10.03.2010
FAQRSS22:23:41Real_Gagnon
Visions22:19:29Allhours
Answer Me22:13:36Allhours
User List20:05:09Allhours
Inter Wiki20:01:50Allhours
TODO List19:52:23Allhours
Migrating From Media Wiki19:50:06Allhours
Wiki Category19:44:56Allhours
Aggregate Plugin19:34:36Allhoursminor wiki gardening
Query Plugin19:32:02Allhoursminor wiki gardening
Link Index Plugin19:24:50Allhoursminor wiki gardening
JSP Wiki Plugins19:17:59Allhoursminor wiki gardening
Contributed Templates19:15:20Allhours
Getting Involved18:45:39Allhoursminor wiki gardening
Pagename_table18:38:1686.111.21.34
Main 217:52:5886.111.21.34
Main 2/2_2.jpg17:49:5586.111.21.34
Pagename_test17:45:0886.111.21.34
Wiki Attachments/Dubin.JPG16:44:1976.17.236.155
Wiki Attachments/beautiful.JPG16:43:5176.17.236.155
Wiki Attachments/Me in Ireland.JPG16:43:2876.17.236.155
Wiki Attachments/Cliffs of Moher.JPG16:43:0676.17.236.155
JSP Wiki Documentation/layout.css10:26:5861.164.77.110test

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

--Adler

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

--JMyers


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

JSPWikiCorePlugins



Is it possible to exclude a page?

Recent Created Pages

what about a list of newly created pages (not changes)?

--CCardone


A New Page would actually mean a recently changed page with only one version.
These pages would only show up if they are created correctly the first time. In most cases, new pages are edited a few times after their first creation, so these would not show up then.


But maybe you mean something else with a "New Page" ?

--HarryMetske, 04-Dec-2007

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-98) was last changed on 04-Dec-2007 20:24 by HarryMetske