Variable name |
Default |
Description |
SecurityPolicy |
None |
Class object hook for implementing security restrictions |
acl_... |
... |
wiki-wide access control list definition (see HelpOnAccessControlLists) |
allow_xslt |
False |
True to enable XSLT processing via 4Suite (note that this enables anyone with enough know-how to insert arbitrary HTML into your wiki, which is why it defaults to 0) |
actions_excluded |
['xmlrpc'] |
Exclude unwanted actions (list of strings) |
attachments |
None |
If None, send attachments via CGI. Every other value is DEPRECATED. |
auth |
[moin_login, moin_session] |
list of auth functions, to be called in this order (see HelpOnAuthentication and HelpOnSessions) |
bang_meta |
True |
enable !NoWikiName markup |
cache_dir |
'data/cache' |
Path to the farm wide cache directory. New in 1.6. |
caching_formats |
['text_html'] |
output formats that are cached; set to [] to turn off caching (useful for development) |
changed_time_fmt |
'%H:%M' |
Time format used on RecentChanges for page edits within the last 24 hours |
chart_options |
None |
If you have gdchart, use something like chart_options = {'width': 720, 'height': 540} |
cookie_domain |
None |
farmconfig: use this domain for the MoinMoin cookie |
cookie_path |
None |
farmconfig: use this path for the MoinMoin cookie |
cookie_lifetime |
12 |
=0: forever, ignore user 'remember_me' setting; >0: n hours, or forever if user checked 'remember_me'; <0 -n hours, ignore user 'remember_me' setting |
data_dir |
'./data/' |
Path to the data directory containing your (locally made) wiki pages. |
data_underlay_dir |
'./underlay/' |
Path to the underlay directory containing distribution system and help pages. |
date_fmt |
'%Y-%m-%d' |
System date format, used mostly in RecentChanges |
datetime_fmt |
'%Y-%m-%d %H:%M:%S' |
Default format for dates and times (when the user has no preferences or chose the "default" date format) |
default_markup |
'wiki' |
Default page parser / format (name of module in MoinMoin.parser) |
docbook_html_dir |
'/usr/share/xml/docbook/stylesheet/nwalsh/html/' |
Path to the directory with the Docbook to HTML XSLT files (optional, used by the docbook parser). The default value is correct for Debian Etch. |
edit_bar |
['Edit', 'Comments', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'ActionsMenu'] |
list of edit bar entries, 'Discussion' is a placeholder for the supplementation_page_name |
editor_default |
'text' |
Editor to use by default, 'text' or 'gui' |
editor_ui |
'freechoice' |
Editor choice shown on the user interface, 'freechoice' or 'theonepreferred' |
editor_force |
False |
Force using the default editor |
editor_quickhelp |
{'wiki':"...", 'rst':"..."} |
Quickhelp provided at the bottom of edit pages. To customize, specify a dictionary with key matching default_markup (e.g. 'wiki') and give a string value containing wiki markup |
edit_locking |
'warn 10' |
Editor locking policy: None, 'warn <timeout in minutes>', or 'lock <timeout in minutes>' |
edit_rows |
20 |
Default height of the edit box |
hacks |
{} |
for use by moin development |
hosts_deny |
[] |
List of denied IPs; if an IP ends with a dot, it denies a whole subnet (class A, B or C) |
html_head |
"" |
Additional <HEAD> tags for all pages (see HelpOnThemes) |
html_head_posts |
robots: noindex,nofollow |
Additional <HEAD> tags for POST requests |
html_head_index |
robots: index,follow |
Additional <HEAD> tags for some few index pages |
html_head_normal |
robots: index,nofollow |
Additional <HEAD> tags for most normal pages |
html_head_queries |
robots: noindex,nofollow |
Additional <HEAD> tags for requests with query strings, like actions |
html_pagetitle |
None |
Allows you to set a specific HTML page title (if not set, it defaults to the value of sitename) |
interwiki_preferred |
[] |
In dialogues, show those wikis at the top of the list. |
interwikiname |
None |
InterWiki name (prefix, moniker) of the site, or None |
language_default |
'en' |
Default language for user interface and page content, see HelpOnLanguages! |
language_ignore_browser |
False |
Ignore user's browser language settings, see HelpOnLanguages! |
log_reverse_dns_lookups |
True |
Do a reverse DNS lookup on page SAVE. If your DNS is broken, set to False to speed up SAVE. |
logo_string |
sitename |
The wiki logo top of page, HTML is allowed (<img> is possible as well) [Unicode] |
mail_from |
None |
From: header used in sent mails, e.g. mail_from = u'Jürgen Wiki <noreply@example.com>'. See /EmailSupport. |
mail_import_subpage_template |
u"$from-$date-$subject" |
This is the template for the pagename generated by the mail import code. See /EmailSupport. New in 1.6. |
mail_import_pagename_envelope |
u"%s" |
Special use, see /EmailSupport. New in 1.6. |
mail_import_pagename_search |
['subject', 'to', ] |
Where and in which order to search for the target pagename, see /EmailSupport. New in 1.6. |
mail_import_pagename_regex |
r'\[\[([^"]*)\]\]' |
Special use, see /EmailSupport. New in 1.6. |
mail_import_wiki_addrs |
[] |
The e-mail address(es) of the e-mails that should go into the wiki See /EmailSupport. New in 1.6. |
mail_import_secret |
"" |
The secret that matches the mailimportconf.py configuration file. See /EmailSupport. New in 1.6. |
mail_login |
None |
"user pwd" if you need to use SMTP AUTH |
mail_smarthost |
None |
IPv4 address or hostname of an SMTP-enabled server (with optional :port appendix, defaults to 25). Note that email features (notification, mailing of login data) works only if this variable is set. |
mail_sendmail |
None |
If set to e.g. '/usr/sbin/sendmail -t -i', use this sendmail command to send mail. Default is to send mail by an internal function using SMTP. |
mimetypes_xss_protect |
['text/html', 'application/x-shockwave-flash', 'application/xhtml+xml',] |
"content-disposition: inline" isn't used for them when a user downloads such attachments |
mimetypes_embed |
['application/x-dvi', 'application/postscript', 'application/pdf', 'application/ogg', 'application/vnd.visio', 'image/x-ms-bmp', 'image/svg+xml', 'image/tiff', 'image/x-photoshop', 'audio/mpeg', 'audio/midi', 'audio/x-wav', 'video/fli', 'video/mpeg', 'video/quicktime', 'video/x-msvideo', 'chemical/x-pdb', 'x-world/x-vrml',] |
mimetypes used by HelpOnMacros/EmbedObject |
navi_bar |
[u'%(page_front_page)s', u'RecentChanges', u'FindPage', u'HelpContents',] |
Most important page names. Users can add more names in their quick links in UserPreferences. To link to URL, use u"[url link title]", to use a shortened name for long page name, use u"[LongLongPageName title]". To use page names with spaces, use u"[page_name_with_spaces any title]" [list of Unicode strings] |
nonexist_qm |
False |
Default for displaying WantedPages with a question mark, like in the original wiki (changeable by the user) |
page_category_regex |
ur'(?P<all>Category(?P<key>\S+))' |
Pagenames containing a match for this regex are regarded as Wiki categories [Unicode] |
page_credits |
[...] |
list with html fragments with logos or strings for crediting. |
page_dict_regex |
u'[a-z0-9]Dict$' |
Pagenames containing a match for this regex are regarded as containing variable dictionary definitions [Unicode] |
page_footer1 |
"" |
Custom HTML markup sent before the system footer (see HelpOnThemes) |
page_footer2 |
"" |
Custom HTML markup sent after the system footer (see HelpOnThemes) |
page_front_page |
u'HelpOnLanguages' |
Name of the front page. We don't expect you to keep the default. Just read HelpOnLanguages in case you're wondering... [Unicode] |
page_group_regex |
u'[a-z0-9]Group$' |
Pagenames containing a match for this regex are regarded as containing group definitions [Unicode] |
page_header1 |
"" |
Custom HTML markup sent before the system header / title area but after the body tag (see HelpOnThemes) |
page_header2 |
"" |
Custom HTML markup sent after the system header / title area (and body tag) (see HelpOnThemes) |
page_iconbar |
["view", ...] |
list of icons to show in iconbar, valid values are only those in page_icons_table. Available only in classic theme. |
page_icons_table |
dict |
dict of {'iconname': (url, title, icon-img-key), ...}. Available only in classic theme. |
page_license_enabled |
False |
Show a license hint in page editor. |
page_license_page |
u'WikiLicense' |
Page linked from the license hint. [Unicode] |
page_local_spelling_words |
u'LocalSpellingWords' |
Name of the page containing user-provided spellchecker words [Unicode] |
page_template_regex |
u'[a-z0-9]Template$' |
Pagenames containing a match for this regex are regarded as templates for new pages [Unicode] |
quicklinks_default |
[] |
List of preset quicklinks which is set for a new user on account creation. Existing accounts are not affected by this option whereas changes in navi_bar do always affect existing accounts. Preset quicklinks can be removed by the user in the userpreference menu, navi_bar settings not. |
refresh |
None |
refresh = (minimum_delay_s, targets_allowed) enables use of #refresh 5 PageName processing instruction, targets_allowed must be either 'internal' or 'external' |
search_results_per_page |
25 |
Number of hits shown per page in the search results |
shared_intermap |
None |
Path to a file containing global InterWiki definitions (or a list of such filenames) |
show_hosts |
True |
Disable this option to hide host names and IPs |
show_interwiki |
False |
Enable this option to let the theme display your interwiki name |
show_login |
True |
Disable this option to get login/logout action removed |
show_names |
True |
Disable this option to hide names from the info view and RecentChanges (this was previously done by show_hosts) |
show_section_numbers |
0 |
1 to show section numbers in headings by default |
show_timings |
False |
Shows some timing values at bottom of page - used for development |
show_version |
False |
Show MoinMoin's version at the bottom of each page |
sitename |
u'Untitled Wiki' |
Short description of your wiki site, displayed below the logo on each page, and used in RSS documents as the channel title [Unicode] |
stylesheets |
[] |
List of tuples (media, csshref) to insert after theme css, before user css |
subscribed_pages_default |
[] |
List of preset page subscriptions which is set for a new user on account creation. |
superuser |
[] |
List of trusted user names with wiki system administration super powers (not to be confused with ACL admin rights!). For an example see HelpOnSuperUser. Used for e.g. making full backups, software installation, language installation via SystemPagesSetup and more. See also HelpOnPackageInstaller. |
supplementation_page |
False |
Enable to show supplementation_page_name in theme for each page |
supplementation_page_name |
u'Discussion' |
default name for supplementation_page |
supplementation_page_template |
u'DiscussionTemplate' |
default template for supplementation_page |
theme_default |
'modern' |
the name of the theme that is used by default (see HelpOnThemes) |
theme_force |
False |
If True, do not allow to change the theme |
trail_size |
5 |
Number of pages in the trail of visited pages |
tz_offset |
0.0 |
default time zone offset in hours from UTC |
ua_spiders |
...|google|wget|... |
A regex of HTTP_USER_AGENTs that should be excluded from logging |
url_mappings |
{} |
lookup table to remap URL prefixes (dict of 'prefix': 'replacement'); especially useful in intranets, when whole trees of externally hosted documents move around |
url_prefix_static |
'/moin_static160' |
used as the base URL for icons, css, etc. - includes the moin version number and changes on every release. This replaces the deprecated and sometimes confusing url_prefix = '/wiki' setting. |
url_prefix_action |
None |
Use 'action' to enable action URL generation to be compatible with robots.txt. It will generate .../action/info/PageName?action=info then. Recommended for internet wikis. |
unzip_attachments_count |
51 |
max. number of files which are extracted from the zip file |
unzip_attachments_space |
200MB |
max. total amount of bytes can be used to unzip files |
unzip_single_file_size |
2MB |
max. size of a single file in the archive which will be extracted |
user_autocreate |
False |
If set to True user accounts are created automatically (see HelpOnAuthentication). |
user_checkbox_defaults |
dict |
Sets the default settings of the UserPreferences checkboxes. See /UserPreferences or multiconfig.py for the default settings. Example: user_checkbox_defaults = {'edit_on_doubleclick': 0} |
user_checkbox_disable |
[] |
a list of checkbox names to be disabled in the UserPreferences. A disabled checkbox is displayed greyedout and uses the default value set in user_checkbox_defaults. |
user_checkbox_fields |
[...] |
list of checkbox items, see /UserPreferences or multiconfig.py |
user_checkbox_remove |
[] |
a list of checkbox names to be removed from the UserPreferences. A removed checkbox uses the default value set in user_checkbox_defaults. See /UserPreferences |
user_dir |
[] |
share user data between multiple wikis. See HelpOnUserHandling |
user_email_unique |
True |
check emails for uniqueness and don't accept duplicates. |
user_form_defaults |
[] |
a list of form defaults for UserPreferences. See /UserPreferences |
user_form_disable |
[] |
a list of form field names to be disabled in the UserPreferences. A disabled field is displayed greyed out and uses the default value set in user_form_defaults. See /UserPreferences |
user_form_fields |
[...] |
list of userprefs form items, see /UserPreferences or multiconfig.py |
user_form_remove |
[] |
a list of form field names to be removed from the UserPreferences. A removed form field uses the default value set in user_form_defaults. See /UserPreferences |
user_homewiki |
Self |
interwiki name of the wiki where the user home pages are located (useful if you have many users). You could even link to nonwiki "user pages" if the wiki username is in the target URL. |
xapian_index_dir |
None |
if set, set and use a separate index directory for every wiki distinguished by wikiname; useful for wikifarms to seperate indices (Note: needs rebuilding the index, see HelpOnXapian) |
xapian_index_history |
True |
enabling this will instruct the indexer to index all revisions of a page to let users search in their history (Note: needs rebuilding the index, see HelpOnXapian) |
xapian_search |
False |
enables Xapian search, see HelpOnXapian for more information on the setup |
xapian_stemming |
True |
enables stemming of terms in Xapian (Note: needs rebuilding the index, see HelpOnXapian) |