---
name: "MojoMojo::Prefs"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Prefs"
---

# MojoMojo::Prefs(3pm)

info on MojoMojo configurable preferences MojoMojo has a number of preferences that can be set in "Site settings" ("/.admin"). If values are not set in the database, they are read from mojomojo.conf, or default values are used.

## NAME

MojoMojo::Prefs - info on MojoMojo configurable preferences

MojoMojo has a number of preferences that can be set in "Site settings" ("/.admin"). If values are not set in the database, they are read from mojomojo.conf, or default values are used.

### admins

Login names of users with admin privileges.

Default: 'admin'.

### name

Site name.

Default: 'MojoMojo'.

### main\_formatter

Specify which formatter to use as the main text formatter. The two options so far ares Markdown and Textile, with Markdown being default thanks to its versatility. For a comparison between the two, see \<http://mojomojo.org/documentation/cheatsheet\>.

### open\_registration

Controld whether user registration is available.

Default: false.

### anonymous\_user

If set, users are allowed to post anonymously, and the edit will be shown with the username set in this option.

### restricted\_user

If set to a true value, normal users are restricted to editing pages inside their user space (the subpages of `"/username"`). Admin users can edit the entire site.

Default: false.

### enforce\_login

If set, users are forced to login before performing any action.

Default: false.

### check\_permission\_on\_view

If set, permissions to view are checked on view and search.

Default: is false.

### create\_allowed, delete\_allowed, edit\_allowed, view\_allowed, attachment\_allowed

If true, anonymous users can create, delete, edit, view, and manipulate attachments, respectively.

Defaults: true.

### entropy

Random string used to generate secret keys for mail verification and such.

### disable\_search

If set, will use Google for site search. Currently highly recommended because KinoSearch consumes 100% CPU (see \<http://github.com/marcusramberg/mojomojo/issues#issue/32\>).

### use\_captcha

Control CAPTCHA for new user registration and anonymous edits.

Default: false.

### theme

Name of the active theme.

Default: 'default'.

### cache\_permission\_data

If set, permissions are cached.

Default: true.

### default\_lang

Set the default language used for:

- •

  roles and the 'admin' username when creating the database

- •

  whenever no language is set via the UI and one is needed to display site text and navigation links, configure CAPTCHA, output language-specific plugin text etc.

Currently supported values are:

- •

  "en" - English

- •

  "de" - German

- •

  "fr" - French

- •

  "ja" - Japanese

- •

  "no" - Norwegian

- •

  "ca" - Catalan

- •

  "es" - Spanish

- •

  "pl" - Polish

- •

  "ru" - Russian

Default: "en"
