Wiki source code of Activity Stream Version 5

Last modified by Vincent Massol on 2026/01/13 15:13

Show last authors
1 {{velocity}}
2 ##
3 ## Recent changes.
4 ##
5 ## Optional parameters :
6 ##
7 ## Parameters which can be set in velocity before including this page or can be passed as HTTP parameters.
8 ## Note that HTTP parameters supercede velocity set variables.
9 ##
10 ## - rcShowRss (String set to "true" or "false"): show RSS at the bottom of the list.
11 ## - rcSpace (List of string[s]): restrict recent changes retrieval to pages within the given space.
12 ## - rcTag (List of string[s]): restrict recent changes retrieval to pages with the given tag.
13 ## - rcAuthor (List of string[s]): restrict recent changes retrieval to pages with the given author.
14 ## - rcChangesNb (String set to a numerical value): number of pages to display recent activity.
15 ## - rcPagercPageEventsNo (String set to a numerical value): number of activity events displayed for each page.
16 ##
17 #if($rcTag)
18 #set($rcTagString = "")
19 #foreach($rcTagValue in $rcTag)
20 #if($velocityCount > 1)
21 #set($rcTagString = "${rcTagString}, ")
22 #end
23 #set($rcTagString = "${rcTagString} ${rcTagValue}")
24 #end
25 #end
26 #if($rcSpace)
27 #set($rcSpaceString = "")
28 #foreach($rcSpaceValue in $rcSpace)
29 #if($velocityCount > 1)
30 #set($rcSpaceString = "${rcSpaceString}, ")
31 #end
32 #set($rcSpaceString = "${rcSpaceString} ${rcSpaceValue}")
33 #end
34 #end
35 #if($rcAuthor)
36 #set($rcAuthorString = "")
37 #foreach($rcAuthorValue in $rcAuthor)
38 #if($velocityCount > 1)
39 #set($rcAuthorString = "${rcAuthorString}, ")
40 #end
41 #set($rcAuthorString = "${rcAuthorString} ${rcAuthorValue}")
42 #end
43 #end
44 ## pass the variables from the velocity context
45 {{recentchanges #if($rcShowRss) showRss="$rcShowRss" #end
46 #if($rcChangesNb) changesNb="$rcChangesNb" #end
47 #if($rcPagercPageEventsNb) changesNb="$rcPagercPageEventsNb" #end
48 #if($rcSpaceString) space="$rcSpaceString" #end
49 #if($rcTagString) tag="$rcTagString" #end
50 #if($rcAuthorString) author="$rcAuthorString" #end /}}
51 {{/velocity}}

Get Connected