WatchPage
—
!!1!
!
>WatchPage
—
!!2!
!
—
!!3!
!
This is a helper class that allows you to have
ruby scripts that do things with contents of a particular page.
One example of its use,
in
how to enable a blog, is to create an automatic summary for each person listed on a page.
!
!4!
!
—
!!5!
!
!
!6!
!
!
!7!
!
!
!8!
!
—
!!9!
!
It will call the block each time the content of the page is changed.
If the
!
!10!
!
!
!11!
!
is true it will also call the block once when the wiki starts.
!
!12!
!