Revision [2885]
This is an old revision of HandlerInfo made by NilsLindenberg on 2004-12-06 15:34:27.
Wikka Handlers
See also ActionInfo and FormatterInfo
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, shows 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 - Shows additions and deletions associated with each version of a page. Also shows the current version of the page at the bottom.
- history2 - This handler shows complete versions of a page instead of just additions and deletions. Additions are marked with a "+" and deletions are marked using strikethrough
- referrers - Displays a list of sites linking to a page.
- revisions - Handles task associated with page revisions. Shows all of the versions for a page and allows you to see the differences between any two versions of a page.
- show - Handles tasks related to displaying pages and comments. Checks user access to pages. Allows users to create new pages.
XML Handler List Describe each handler. How are xml handlers different? (See: Mod015fFilesAction)
- files.xml - Handles file downloads and file deletion. Examples:
- Sample download link generated by handler: http://localhost/HandlerInfo/files.xml&action=download&file=aFile.pdf
- Sample delete link generated by handler: http://localhost:8080/wikka/wakka.php?wakka=BraveTerry/files.xml&action=delete&file=52287.pdf
- recentchanges.xml
- revisions.xml
CategoryDocumentation