diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 17:16:51 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 17:16:51 -0500 |
commit | 64a8c828b8cfa342118dd6e28b9dff43d83c6311 (patch) | |
tree | 64d413195168fe7f4616f01b9f832a66cf0096be /doc/plugins/recentchanges.mdwn | |
parent | fbfbda614dfeb01d1f7156f97125d17d99b4f113 (diff) |
* meta: Add pagespec functions to match against title, author, authorurl,
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
Diffstat (limited to 'doc/plugins/recentchanges.mdwn')
-rw-r--r-- | doc/plugins/recentchanges.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/plugins/recentchanges.mdwn b/doc/plugins/recentchanges.mdwn index 8647985c9..b48dcbacf 100644 --- a/doc/plugins/recentchanges.mdwn +++ b/doc/plugins/recentchanges.mdwn @@ -10,3 +10,17 @@ plugin, but you can use it elsewhere too if you like. It's used like this: \[[inline pages="internal(recentchanges/change_*)" template=recentchanges show=0]] + +Here's an example of how to show only changes to "bugs/*". +This matches against the title of the change, which includes a list of +modified pages. + + \[[inline pages="internal(recentchanges/change_*) and title(*bugs/*)" + template=recentchanges show=0]] + +Here's an example of how to show only changes that Joey didn't make. +(Joey commits sometimes as user `joey`, and sometimes via openid.) + + \[[inline pages="internal(recentchanges/change_*) and + !author(joey) and !author(http://joey.kitenet.net*)" + template=recentchanges show=0]] |