This file is indexed.

/usr/share/perl5/MojoMojo/Prefs.pod is in libmojomojo-perl 1.05+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
=head1 NAME

MojoMojo::Prefs - info on MojoMojo configurable preferences

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

=head2 admins

Login names of users with admin privileges.

Default: 'admin'.

=head2 name

Site name.

Default: 'MojoMojo'.

=head2 main_formatter

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

=head2 open_registration

Controld whether user registration is available.

Default: false.

=head2 anonymous_user

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

=head2 restricted_user

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

Default: false.

=head2 enforce_login

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

Default: false.

=head2 check_permission_on_view

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

Default: is false.

=head2 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.

=head2 entropy

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

=head2 disable_search

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

=head2 use_captcha

Control CAPTCHA for new user registration and anonymous edits.

Default: false.

=head2 theme

Name of the active theme.

Default: 'default'.

=head2 cache_permission_data

If set, permissions are cached.

Default: true.

=head2 default_lang

Set the default language used for:

=over 4

=item * roles and the 'admin' username when creating the database

=item * 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.

=back

Currently supported values are:

=over

=item * "en" - English

=item * "de" - German

=item * "fr" - French

=item * "ja" - Japanese

=item * "no" - Norwegian

=item * "ca" - Catalan

=item * "es" - Spanish

=item * "pl" - Polish

=item * "ru" - Russian

=back

Default: "en"

=cut