Revision [382]
This is an old revision of HandlerInfo made by RichardTerry on 2004-05-25 00:28:46.
Describe Wikka Handlers here. What are they? How are they invoked? What is the difference between a handler and an action? How are they related?
Wikka Handlers provide functionality that generally acts on an entire page or affects the wiki as a whole in some way. You could say that handlers "handle" something for the user, such as deleting a page, modifying Access Control Lists (ACLs), or showing page history. Wikka actions affect a part of a wikka page. Actions are usually inserted into a page along with all of the other markup. When the page is viewed/rendered, the action is "executed" and it's output is displayed.
Page Handler List Describe each handler
- acls - Handles the Access Control List (ACL) functionality. You can access ACL settings by clicking the "Edit ACLs" link at the bottom of a page. The link is only visible if:
- You are the page owner and you are logged in.
- You are logged in as the admin user for the Wikka Wiki. (The link doesn't appear if the page is owned by "nobody". Click the "Take ownership" link at the bottom of the screen to take ownership of the page before trying to modify the Access Control List.)
- addcomment - Handles some of the tasks associated with adding a new comment. (managing comment related access control, posting new comments, displaying comment related error messages.)
- claim - Handles tasks associated with page ownership. (Determining access to the "take ownership" command, assigning page ownership, displaying confirmation/error messages.
- delcomment - Handles tasks associated to the deletion of comments from the MySql database. (Determining if a user is allowed to delete a specific comment.)
- delete - Handles the deletion of pages. (Displaysing the form that prompts the user for information about the deletion, Displaying confirmation and error messages. Determining if a user is allowed to delete a specific page.)
- diff - Determines and displays the differences between two revisions of a page. (Additions and deletions.)
- edit - Handles tasks associated with editing a page. (Displaying the edit form, Validating input, Showing page preview, Checking to see if a user is allowed to edit a page. Displaying confirmation and error messages. Handling the storage of pages in the MySql database.
- history
- history2 (Not sure about this one. What does it do?)
- referrers
- revisions
- show
XML Handler List Describe each handler. How are xml handlers different? (See: Mod015fFilesAction)
- files.xml
- recentchanges.xml
- revisions.xml