diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-28 23:56:26 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-28 23:56:26 -0500 |
commit | 5921b86fccde90e5a9c77623d808be06f40cbe47 (patch) | |
tree | b116168da21dbae0d82a6334f763e035fe0f5ac8 /doc/todo/recentchanges.mdwn | |
parent | 2d3dc86d07a7ebf5f638084259ae2d9c2c63e6b6 (diff) | |
download | ikiwiki-5921b86fccde90e5a9c77623d808be06f40cbe47.tar ikiwiki-5921b86fccde90e5a9c77623d808be06f40cbe47.tar.gz |
proof of concept implementation of static recentchanges
Currently hardcoded to write to recentchanges/*, and the page format needs
to be rethought to be usable for aggregation, but it basically works.
Diffstat (limited to 'doc/todo/recentchanges.mdwn')
-rw-r--r-- | doc/todo/recentchanges.mdwn | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/todo/recentchanges.mdwn b/doc/todo/recentchanges.mdwn index bdd7948e4..75334659a 100644 --- a/doc/todo/recentchanges.mdwn +++ b/doc/todo/recentchanges.mdwn @@ -107,11 +107,8 @@ Here's a full design for redoing recentchanges, based on Ethan's ideas: aggregator, or they can set up their own page that uses the recentchanges directive for only the pages they want. * The `rcs_notify` functions will be removed. -* `rcs_getchange` is passed a change id (as returned from rcs_recentchanges) - and a partially filled out HTML::Template and fills out the remainer of the - template. So if a template is used that includes diffs, it will need to run - some expensive diffing operation, wikis with less resources can use a - template that doesn't include diffs and avoid that overhead. +* To add diffs, another plugin can add a pagetemplate hook that calls + a `rcs_diff`. (optional) * So to update the changes files, just call `rcs_recentchanges`, create files for each new id, and delete files for each id that is no longer included. |