NAME

MojoMojo - not your daddy`s wiki.

SYNOPSIS

# on the command line
./bin/server.pl

# In apache conf
<Location /mojomojo>
  SetHandler perl-script
  PerlHandler MojoMojo
</Location>

DESCRIPTION

Mojomojo is a Wiki-based community software, powered by Catalyst.

METHODS

expand_wikiword wikiword

Add spaces to wiki words as appropriate

wikiword wikiword base

Format a wikiword as a link or as a wanted page, as appropriate.

pref key [value]

Find or create a preference key, update it if you pass a value then return the current setting.

fixw word

Clean up explicit wiki words.

OVERRIDDEN METHODS

prepare_path

We override this method to work around some of Catalyst's assumptions about dispatching. Since MojoMojo supports page namespaces (e.g. '/parent_page/child_page'), with page paths that always start with '/', we strip the trailing slash from $c->req->base. Also, since MojoMojo indicates actions by appending a '.$action' to the path (e.g. '/parent_page/child_page.edit'), we remove the page path and save it in $c->stash->{path} and reset $c->req->path to $action. We save the original uri in $c->stash->{pre_hacked_uri}.

base_uri

Return the base as an URI object.

unicode

format for unicode template use.

uri_for Overrides $c->uri_for to append path, if relative path is used

AUTHORS

Marcus Ramberg marcus@thefeed.no David Naughton naughton@umn.edu Andy Grundman andy@hybridized.org Jonathan Rockway jrockway@jrockway.us

LICENSE

You may distribute this code under the same terms as Perl itself.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 180:

You forgot a '=back' before '=head2'

Around line 196:

=back without =over