Handbook
Glossary
<wiki> ( -- dispatcher )
Vocabulary
webapps
.
wiki
Inputs
None
Outputs
dispatcher
an
object
Definition
USING:
accessors
furnace.boilerplate
http.server.dispatchers
http.server.static
;
IN:
webapps.wiki
:
<wiki>
( -- dispatcher )
wiki
new-dispatcher
<main-article-action>
""
add-responder
<view-article-action>
"view"
add-responder
<view-revision-action>
"revision"
add-responder
<random-article-action>
"random"
add-responder
<list-revisions-action>
"revisions"
add-responder
<list-revisions-feed-action>
"revisions.atom"
add-responder
<diff-action>
"diff"
add-responder
<edit-article-action>
"edit"
add-responder
<submit-article-action>
"submit"
add-responder
<rollback-action>
"rollback"
add-responder
<user-edits-action>
"user-edits"
add-responder
<list-articles-action>
"articles"
add-responder
<search-articles-action>
"search"
add-responder
<list-changes-action>
"changes"
add-responder
<user-edits-feed-action>
"user-edits.atom"
add-responder
<list-changes-feed-action>
"changes.atom"
add-responder
<delete-action>
"delete"
add-responder
"vocab:webapps/wiki/icons/"
<static>
"icons"
add-responder
<boilerplate>
[
init-sidebars
init-relative-link-prefix
]
>>init
{
wiki
"wiki-common"
}
>>template
;