]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/recentchanges.mdwn
flattr: New plugin.
[ikiwiki.git] / doc / plugins / recentchanges.mdwn
1 [[!template id=plugin name=recentchanges core=1 author="[[Joey]]"]]
2 [[!tag type/meta]]
3
4 This plugin examines the [[revision_control_system|rcs]] history and
5 generates a page describing each recent change made to the wiki. These
6 pages can be joined together with [[inline]] to generate the
7 [[RecentChanges]] page.
8
9 Typically only the RecentChanges page will use the pages generated by this
10 plugin, but you can use it elsewhere too if you like. It's used like this:
11
12         \[[!inline pages="internal(recentchanges/change_*)"
13         template=recentchanges show=0]]
14
15 Here's an example of how to show only changes to "bugs/*".
16 This matches against the title of the change, which includes a list of
17 modified pages.
18
19         \[[!inline pages="internal(recentchanges/change_*) and title(*bugs/*)"
20         template=recentchanges show=0]]
21
22 Here's an example of how to show only changes that Joey didn't make.
23 (Joey commits sometimes as user `joey`, and sometimes via openid.)
24         
25         \[[!inline pages="internal(recentchanges/change_*) and
26         !author(joey) and !author(http://joey.kitenet.net*)"
27         template=recentchanges show=0]]
28
29 If you want to generate feeds for the RecentChanges page, you have to use
30 [[`rss`_or_`atom`_in_the_setup_file|/todo/minor adjustment to setup documentation for recentchanges feeds]].