Api for classes to modify the wiki

API for classes to modify the wiki

There is a very simple API for classes to modify the wiki.

Any class can register to be notified of changes to the wiki by:

These notifications are sent by a separate low priority thread from the one that is interacting with the user. Using these notifications a class can make changes to the wiki by calling:

@wiki.revise( pagename, newcontent, author )

The normal place for these classes to be initialized is from the start.rb file. The normal place for these classes to be stored is in the soks/lib/helpers directory.

Examples of helpers that use this api:

Tag: Include this page in the distribution

Edit this page or watch for changes using RSS.