<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>HelpOnConfiguration</title></articleinfo><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpContents#">HelpContents</ulink> &gt; <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpForAdministrators#">HelpForAdministrators</ulink> &gt; HelpOnConfiguration </para><para>This page should help you with configuring an already installed <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink> wiki. If you have not installed one yet please go to <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnInstalling#">HelpOnInstalling</ulink>. </para><section><title>General</title><para><anchor id="character-set"/> </para><section><title>Character Set</title><para>Moin uses Unicode internally, and <code>utf-8</code> for external output and input, like pages, HTML output and translation files. The external character set is defined in <code>config.charset</code> to <code>utf-8</code>. This setting is fine for all languages, as any character can be encoded in UTF-8. You should not change this value, although technically it is possible. </para><itemizedlist><listitem override="none"><para><inlinemediaobject><imageobject><imagedata depth="15" fileref="http://www.nnx.me//moin_static197/ninuxtheme02/img/attention.png" width="15"/></imageobject><textobject><phrase>&lt;!&gt;</phrase></textobject></inlinemediaobject> <emphasis role="strong">Important: to use Unicode values, you must setup a correct coding line in the first line of your configuration file. Check that your editor is configured correctly.</emphasis> </para></listitem></itemizedlist><para>Certain options <emphasis role="strong">must</emphasis> use Unicode values. For example, the site name could contain German umlauts or French accents or be in Chinese or Hebrew. Because of this, you must use unicode strings for those items. Unicode strings are defined by prefixing the letter <code>u</code> to the string. Here are some examples: </para><screen><![CDATA[    # Site name, used by default for wiki name-logo [Unicode]
    sitename = u"Jürgen's Wiki"
    # another example:
    sitename = u'הוויקי של יורגן']]></screen><para>Read the comments in the configuration file - they tell you which options must use Unicode values. </para><para>Notes: </para><itemizedlist><listitem><para>You can't mix different encodings in the same file. If your coding line says <code>iso-8859-1</code>, all your characters, the whole file content, must be in that encoding. </para></listitem><listitem><para>If you use utf-8 encoding (or plain ascii), you don't have to use unicode strings, moin will decode your string correctly for you. </para></listitem></itemizedlist><para><anchor id="intsetup"/> </para></section><section><title>International Setup</title><para>The default configuration file shipped with moin uses <code>iso-8859-1</code> coding. This is fine for Latin languages like English or German, but not usable for non-latin languages. If you want to have non-latin characters in your configuration items, use utf-8 coding for the config file. </para><para>Set the first line of all configuration files to this line: </para><screen><![CDATA[# -*- coding: utf-8 -*-]]></screen><itemizedlist><listitem override="none"><para><inlinemediaobject><imageobject><imagedata depth="15" fileref="http://www.nnx.me//moin_static197/ninuxtheme02/img/alert.png" width="15"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> You need a text editor being capable of (and also really using) utf-8 encoding for editing the config files. </para></listitem></itemizedlist><para>Values using unicode strings (international users might want to change them): </para><itemizedlist><listitem><para>sitename </para></listitem><listitem><para>logo_string </para></listitem><listitem><para>page_front_page </para></listitem><listitem><para>navi_bar </para></listitem><listitem><para>page_category_regex </para></listitem><listitem><para>page_dict_regex </para></listitem><listitem><para>page_group_regex </para></listitem><listitem><para>page_template_regex </para></listitem><listitem><para>page_license_page </para></listitem><listitem><para>page_local_spelling_words </para></listitem><listitem><para>acl_rights_default </para></listitem><listitem><para>acl_rights_before </para></listitem><listitem><para>acl_rights_after </para></listitem><listitem><para>mail_from </para></listitem></itemizedlist><para>For ready made configuration in your language, see <ulink url="http://moinmoin.wikiwikiweb.de/ConfigMarket#">ConfigMarket</ulink>. </para></section><section><title>Customization of user preferences</title><para>You can predefine, disable or remove several options on the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink> page, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">HelpOnConfiguration/UserPreferences</ulink>. <anchor id="singlewiki"/> </para></section></section><section><title>Configuring a single wiki</title><para>If you run a single wiki, you should not copy the file <code>farmconfig.py</code> into your configuration directory (remove it and the <code>.pyc</code> file, if it is there). Without farmconfig, moin uses the default <code>wikiconfig.py</code> </para><para><code>wikiconfig.py</code> usually is located besides your <code>moin.cgi</code> driver script. If you need to make a custom install, it can be located anywhere, but you must add the path to the directory where it is located to your Python system path in your server script. See the &quot;System Path Configuration&quot; section in your server script. </para><para>General notes on wiki/farmconfig.py structure: </para><screen><![CDATA[# -*- coding: iso-8859-1 -*-
]]><![CDATA[
from MoinMoin.config.multiconfig import DefaultConfig
]]><![CDATA[
class Config(DefaultConfig):
]]><![CDATA[
    sitename = u'MyWiki'   # u means that it will be converted to Unicode
    interwikiname = 'MyWiki'
    data_dir = '/where/ever/mywiki/data/'
    underlay_dir = '/where/ever/mywiki/underlay/'
    
    # More settings follow...]]></screen><itemizedlist><listitem><para>First, you must define the coding of the config file. The default setting is suited for Latin (&quot;western&quot;) languages only, for international setup, read  section <link linkend="intsetup">#intsetup</link>. If you don't define the coding, you can't use non-ascii characters. </para></listitem><listitem><para>Next we import moin's internal default configuration. The default configuration includes values for all options, so we don't have to define all values, just what we want to customize. </para></listitem><listitem><para>Then we define a new configuration class called &quot;Config&quot; and inherit all settings from the default configuration we imported. Note that the class name must be &quot;Config&quot;. </para></listitem><listitem><para>Next lines are the configuration options for the Config class. Note that each line must be indented by 4 spaces, tabs are not allowed. Moin will not run if you use wrong indentation. </para></listitem><listitem><para>A common configuration item is <code>sitename</code> - in most cases you don't want your wiki to have the default &quot;Untitled Wiki&quot; name. You can define any name you like in any language, but before you do that, read section <link linkend="character-set">#character-set</link>. </para></listitem><listitem><para>If you followed the install instructions, the wiki will run without any other change, but you might want to change some values, like <code>data_dir</code>, <code>data_underlay_dir</code> <code>acl_rights_before</code> and more. For most cases, setting all the values in the supplied <code>wikiconfig.py</code> file is enough. </para></listitem><listitem><para>Anything we do not define simply stays at moin's internal defaults which we inherited from Default<emphasis role="strong"/>Config. </para></listitem></itemizedlist><para><anchor id="multiwiki"/> </para></section><section><title>Configuration of multiple wikis</title><para>The moinmoin wiki engine is capable of handling multiple wikis using a single installation, a single set of configuration files and a single server process. Especially for persistent environments like twisted, this is necessary, because the twisted server will permanently run on a specific IP address and TCP port number. So for virtual hosting of multiple domains (wikis) on the same IP and port, we need the wiki engine to permanently load multiple configs at the same time and choose the right of them when handling a request for a specific URL. </para><para>To be able to choose the right config, moin uses config variable <code>wikis</code> located in the file <code>farmconfig.py</code> - it simply contains a list of pairs <code>(wikiname, url-regex)</code>. Please only use valid python identifiers for <code>wikiname</code> (to be exact: <code>identifier ::= (letter|&quot;_&quot;) (letter | digit | &quot;_&quot;)*</code> - just try with a simple word if you didn't understand that grammar rule). When processing a request for some URL, moin searches through this list and tries to match the url-regex against the current URL. If it doesn't match, it simply proceeds to the next pair. If it does match, moin loads a configuration file named <code>&lt;wikiname&gt;.py</code> (usually from the same directory) that contains the configuration for that wiki. </para><para><code>farmconfig.py</code> in the distribution archive has some sample entries for a wiki farm running multiple wikis. You need to adapt it to match your needs if you want to run multiple wikis. </para><para><inlinemediaobject><imageobject><imagedata depth="15" fileref="http://www.nnx.me//moin_static197/ninuxtheme02/img/alert.png" width="15"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> For simpler writing of these help pages, we will call such a <code>&lt;wikiname&gt;.py</code> configuration file simply <code>wikiconfig.py</code>, of course you have to use the filename you chose. </para><para>Of course you have already adapted the <code>wikis</code> setting in <code>farmconfig.py</code> (see above), so we only give some hints how you can save some work. Please also read the single wiki configuration hints, because it explains config inheritance. </para><para>We now use the class-based configuration to be able to configure the common settings of your wikis at a single place: in the base configuration class (see <code>farmconfig.py</code> for an example): </para><para><emphasis role="strong">farmconfig.py</emphasis>: </para><screen><![CDATA[# -*- coding: iso-8859-1 -*-
# farmconfig.py:
from MoinMoin.config.multiconfig import DefaultConfig
class FarmConfig(DefaultConfig):
    url_prefix = '/wiki'
    show_hosts = True
    underlay_dir = '/where/ever/common/underlay'
    # ...]]></screen><itemizedlist><listitem override="none"><para>Explanation: </para><itemizedlist><listitem><para>first we import the default config, like we do when configuring a single wiki </para></listitem><listitem><para>now we define a new farm config class - and inherit from the default config </para></listitem><listitem><para>then we change everything that our farm wikis have in common, leaving out the settings that they need to be different </para></listitem><listitem><para>this Farm<emphasis role="strong"/>Config class will now be used by the config files of the wikis instead of moin's internal Default<emphasis role="strong"/>Config class, see below: </para></listitem></itemizedlist></listitem></itemizedlist><para>The configs of your individual wikis then only keep the settings that need to be different (like the logo, or the data directory or ACL settings). Everything else they get by inheriting from the base configuration class, see <code>moinmaster.py</code> for a sample. </para><para><emphasis role="strong">moinmaster.py</emphasis>: </para><screen><![CDATA[# -*- coding: iso-8859-1 -*-
# moinmaster.py:
from farmconfig import FarmConfig
class Config(FarmConfig):
    show_hosts = False
    sitename = u'MoinMaster'
    interwikiname = 'MoinMaster'
    data_dir = '/org/de.wikiwikiweb.moinmaster/data/'
    # ...]]></screen><itemizedlist><listitem override="none"><para>Explanation: </para><itemizedlist><listitem><para>see single wiki configuration, the only difference is that we inherit from Farm<emphasis role="strong"/>Config (that inherited from Default<emphasis role="strong"/>Config) instead of directly using Default<emphasis role="strong"/>Config </para></listitem><listitem><para>now we override show_hosts to be <code>False</code> - we want it for most wikis in our farm, but not for this one </para></listitem><listitem><para>we also override sitename, interwikiname and data_dir (the usual stuff) </para></listitem></itemizedlist></listitem></itemizedlist><para><anchor id="index"/> </para></section><section><title>Index of all Configuration Options</title><para>The following table contains default values and a short description for all configuration variables. Most of these can be left at their defaults, those you need to change with every installation are listed in the sample <code>wikiconfig.py</code> that comes with the distribution. </para><informaltable><tgroup cols="3"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Variable name</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Default</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Description</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> Security<emphasis role="strong"/>Policy </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> Class object hook for implementing security restrictions </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> acl_... </para></entry><entry colsep="1" rowsep="1"><para> ... </para></entry><entry colsep="1" rowsep="1"><para> wiki-wide access control list definition (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnAccessControlLists#">HelpOnAccessControlLists</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> allow_xslt </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> <code>True</code> to enable XSLT processing via 4Suite (note that this enables anyone with enough know-how to insert <emphasis role="strong">arbitrary HTML</emphasis> into your wiki, which is why it defaults to <code>False</code>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> actions_excluded </para></entry><entry colsep="1" rowsep="1"><para> ['xmlrpc'] </para></entry><entry colsep="1" rowsep="1"><para> Exclude unwanted actions (list of strings) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> attachments </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> If <code>None</code>, send attachments via CGI. Every other value is DEPRECATED.</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> auth </para></entry><entry colsep="1" rowsep="1"><para> [moin_login, moin_session] </para></entry><entry colsep="1" rowsep="1"><para> list of auth functions, to be called in this order (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnAuthentication#">HelpOnAuthentication</ulink> and <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnSessions#">HelpOnSessions</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> bang_meta </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> enable <code>!NoWikiName</code> markup </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> cache_dir </para></entry><entry colsep="1" rowsep="1"><para> 'data/cache' </para></entry><entry colsep="1" rowsep="1"><para> Path to the farm wide cache directory. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> caching_formats </para></entry><entry colsep="1" rowsep="1"><para> ['text_html'] </para></entry><entry colsep="1" rowsep="1"><para> output formats that are cached; set to [] to turn off caching (useful for development) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> changed_time_fmt </para></entry><entry colsep="1" rowsep="1"><para> '%H:%M' </para></entry><entry colsep="1" rowsep="1"><para> Time format used on <ulink url="http://www.nnx.me/HelpOnConfiguration/RecentChanges#">RecentChanges</ulink> for page edits within the last 24 hours </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> chart_options </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> If you have gdchart, use something like chart_options = {'width': 720, 'height': 540} </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> cookie_domain </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> farmconfig: use this domain for the <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink> cookie </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> cookie_path </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> farmconfig: use this path for the <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink> cookie </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> cookie_lifetime </para></entry><entry colsep="1" rowsep="1"><para> 12 </para></entry><entry colsep="1" rowsep="1"><para>=0: forever, ignore user 'remember_me' setting; &gt;0: n hours, or forever if user checked 'remember_me'; &lt;0 -n hours, ignore user 'remember_me' setting</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> data_dir </para></entry><entry colsep="1" rowsep="1"><para> './data/' </para></entry><entry colsep="1" rowsep="1"><para> Path to the data directory containing your (locally made) wiki pages. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> data_underlay_dir </para></entry><entry colsep="1" rowsep="1"><para> './underlay/' </para></entry><entry colsep="1" rowsep="1"><para> Path to the underlay directory containing distribution system and help pages. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> date_fmt </para></entry><entry colsep="1" rowsep="1"><para> '%Y-%m-%d' </para></entry><entry colsep="1" rowsep="1"><para> System date format, used mostly in <ulink url="http://www.nnx.me/HelpOnConfiguration/RecentChanges#">RecentChanges</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> datetime_fmt </para></entry><entry colsep="1" rowsep="1"><para> '%Y-%m-%d %H:%M:%S' </para></entry><entry colsep="1" rowsep="1"><para> Default format for dates and times (when the user has no preferences or chose the &quot;default&quot; date format) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> default_markup </para></entry><entry colsep="1" rowsep="1"><para> 'wiki' </para></entry><entry colsep="1" rowsep="1"><para> Default page parser / format (name of module in <code>MoinMoin.parser</code>)  </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> docbook_html_dir </para></entry><entry colsep="1" rowsep="1"><para> '/usr/share/xml/docbook/stylesheet/nwalsh/html/' </para></entry><entry colsep="1" rowsep="1"><para> 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. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> edit_bar </para></entry><entry colsep="1" rowsep="1"><para> ['Edit', 'Comments', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'Actions<emphasis role="strong"/>Menu'] </para></entry><entry colsep="1" rowsep="1"><para> list of edit bar entries, 'Discussion' is a placeholder for the <code>supplementation_page_name</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> editor_default </para></entry><entry colsep="1" rowsep="1"><para> 'text' </para></entry><entry colsep="1" rowsep="1"><para> Editor to use by default, 'text' or 'gui' </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> editor_ui </para></entry><entry colsep="1" rowsep="1"><para> 'freechoice' </para></entry><entry colsep="1" rowsep="1"><para> Editor choice shown on the user interface, 'freechoice' or 'theonepreferred' </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> editor_force </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Force using the default editor </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> editor_quickhelp </para></entry><entry colsep="1" rowsep="1"><para> {'wiki':&quot;...&quot;, 'rst':&quot;...&quot;} </para></entry><entry colsep="1" rowsep="1"><para> 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 </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> edit_locking </para></entry><entry colsep="1" rowsep="1"><para> 'warn 10' </para></entry><entry colsep="1" rowsep="1"><para> Editor locking policy: <code>None</code>, <code>'warn &lt;timeout in minutes&gt;'</code>, or <code>'lock &lt;timeout in minutes&gt;'</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> edit_rows </para></entry><entry colsep="1" rowsep="1"><para> 20 </para></entry><entry colsep="1" rowsep="1"><para> Default height of the edit box </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> hacks </para></entry><entry colsep="1" rowsep="1"><para> {} </para></entry><entry colsep="1" rowsep="1"><para> for use by moin development </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> hosts_deny </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> List of denied IPs; if an IP ends with a dot, it denies a whole subnet (class A, B or C) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_head </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> Additional &lt;HEAD&gt; tags for all pages (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_head_posts </para></entry><entry colsep="1" rowsep="1"><para> robots: noindex,nofollow </para></entry><entry colsep="1" rowsep="1"><para> Additional &lt;HEAD&gt; tags for POST requests </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_head_index </para></entry><entry colsep="1" rowsep="1"><para> robots: index,follow </para></entry><entry colsep="1" rowsep="1"><para> Additional &lt;HEAD&gt; tags for some few index pages </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_head_normal </para></entry><entry colsep="1" rowsep="1"><para> robots: index,nofollow </para></entry><entry colsep="1" rowsep="1"><para> Additional &lt;HEAD&gt; tags for most normal pages </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_head_queries </para></entry><entry colsep="1" rowsep="1"><para> robots: noindex,nofollow </para></entry><entry colsep="1" rowsep="1"><para> Additional &lt;HEAD&gt; tags for requests with query strings, like actions </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> html_pagetitle </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> Allows you to set a specific HTML page title (if not set, it defaults to the value of <code>sitename</code>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> interwiki_preferred </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> In dialogues, show those wikis at the top of the list. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> interwikiname </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> <ulink url="http://www.nnx.me/HelpOnConfiguration/InterWiki#">InterWiki</ulink> name (prefix, moniker) of the site, or None </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> language_default </para></entry><entry colsep="1" rowsep="1"><para> 'en' </para></entry><entry colsep="1" rowsep="1"><para> Default language for user interface and page content, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnLanguages#">HelpOnLanguages</ulink>!</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> language_ignore_browser </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Ignore user's browser language settings, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnLanguages#">HelpOnLanguages</ulink>!</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> log_reverse_dns_lookups </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> Do a reverse DNS lookup on page SAVE. If your DNS is broken, set to False to speed up SAVE.</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> logo_string </para></entry><entry colsep="1" rowsep="1"><para> sitename </para></entry><entry colsep="1" rowsep="1"><para> The wiki logo top of page, HTML is allowed (<code>&lt;img&gt;</code> is possible as well) [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_from </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> <code>From:</code> header used in sent mails, e.g. <code>mail_from = u'Jürgen Wiki &lt;noreply@example.com&gt;'</code>. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>.</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_subpage_template </para></entry><entry colsep="1" rowsep="1"><para> <code>u&quot;$from-$date-$subject&quot;</code> </para></entry><entry colsep="1" rowsep="1"><para> This is the template for the pagename generated by the mail import code. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_pagename_envelope </para></entry><entry colsep="1" rowsep="1"><para> <code>u&quot;%s&quot;</code> </para></entry><entry colsep="1" rowsep="1"><para> Special use, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_pagename_search </para></entry><entry colsep="1" rowsep="1"><para> <code>['subject', 'to', ]</code> </para></entry><entry colsep="1" rowsep="1"><para> Where and in which order to search for the target pagename, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_pagename_regex </para></entry><entry colsep="1" rowsep="1"><para> <code>r'\[\[([^&quot;]*)\]\]'</code> </para></entry><entry colsep="1" rowsep="1"><para> Special use, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_wiki_addrs </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> The e-mail address(es) of the e-mails that should go into the wiki See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_secret </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> The secret that matches the <code>mailimportconf.py</code> configuration file. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_login </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> &quot;user pwd&quot; if you need to use SMTP AUTH </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_smarthost </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> IPv4 address or hostname of an SMTP-enabled server (with optional <code>:port</code> appendix, defaults to 25). Note that email features (notification, mailing of login data) works only if this variable is set. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_sendmail </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> 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. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mimetypes_xss_protect</para></entry><entry colsep="1" rowsep="1"><para> ['text/html', 'application/x-shockwave-flash', 'application/xhtml+xml',] </para></entry><entry colsep="1" rowsep="1"><para>  &quot;content-disposition: inline&quot; isn't used for them when a user downloads such attachments </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mimetypes_embed </para></entry><entry colsep="1" rowsep="1"><para>['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',] </para></entry><entry colsep="1" rowsep="1"><para> mimetypes used by <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnMacros/EmbedObject#">HelpOnMacros/EmbedObject</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> navi_bar </para></entry><entry colsep="1" rowsep="1"><para> [u'%(page_front_page)s', u'Recent<emphasis role="strong"/>Changes', u'Find<emphasis role="strong"/>Page', u'Help<emphasis role="strong"/>Contents',] </para></entry><entry colsep="1" rowsep="1"><para> Most important page names. Users can add more names in their quick links in <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. To link to URL, use <code>u&quot;[url link title]&quot;</code>, to use a shortened name for long page name, use <code>u&quot;[LongLongPageName title]&quot;</code>. To use page names with spaces, use <code>u&quot;[page_name_with_spaces any title]&quot;</code> [list of Unicode strings] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> nonexist_qm </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Default for displaying <ulink url="http://www.nnx.me/HelpOnConfiguration/WantedPages#">WantedPages</ulink> with a question mark, like in the original wiki (changeable by the user) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_category_regex </para></entry><entry colsep="1" rowsep="1"><para> u'^Category[A-Z]' </para></entry><entry colsep="1" rowsep="1"><para> Pagenames containing a match for this regex are regarded as Wiki categories [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_credits </para></entry><entry colsep="1" rowsep="1"><para> [...] </para></entry><entry colsep="1" rowsep="1"><para> list with html fragments with logos or strings for crediting.  </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_dict_regex </para></entry><entry colsep="1" rowsep="1"><para> u'[a-z0-9]Dict$' </para></entry><entry colsep="1" rowsep="1"><para> Pagenames containing a match for this regex are regarded as containing variable dictionary definitions [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_footer1 </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> Custom HTML markup sent <emphasis>before</emphasis> the system footer (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_footer2 </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> Custom HTML markup sent <emphasis>after</emphasis> the system footer (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_front_page </para></entry><entry colsep="1" rowsep="1"><para> u'<ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnLanguages#">HelpOnLanguages</ulink>' </para></entry><entry colsep="1" rowsep="1"><para> Name of the front page. We don't expect you to keep the default. Just read <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnLanguages#">HelpOnLanguages</ulink> in case you're wondering... [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_group_regex </para></entry><entry colsep="1" rowsep="1"><para> u'[a-z0-9]Group$' </para></entry><entry colsep="1" rowsep="1"><para> Pagenames containing a match for this regex are regarded as containing group definitions [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_header1 </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> Custom HTML markup sent <emphasis>before</emphasis> the system header / title area but <emphasis>after</emphasis> the body tag (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_header2 </para></entry><entry colsep="1" rowsep="1"><para> &quot;&quot; </para></entry><entry colsep="1" rowsep="1"><para> Custom HTML markup sent <emphasis>after</emphasis> the system header / title area (and body tag) (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_iconbar </para></entry><entry colsep="1" rowsep="1"><para> [&quot;view&quot;, ...] </para></entry><entry colsep="1" rowsep="1"><para> list of icons to show in iconbar, valid values are only those in page_icons_table. Available only in classic theme. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_icons_table </para></entry><entry colsep="1" rowsep="1"><para> dict </para></entry><entry colsep="1" rowsep="1"><para> dict of {'iconname': (url, title, icon-img-key), ...}. Available only in classic theme. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_license_enabled </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Show a license hint in page editor. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_license_page </para></entry><entry colsep="1" rowsep="1"><para> u'<ulink url="http://www.nnx.me/HelpOnConfiguration/WikiLicense#">WikiLicense</ulink>' </para></entry><entry colsep="1" rowsep="1"><para> Page linked from the license hint. [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_local_spelling_words </para></entry><entry colsep="1" rowsep="1"><para> u'<ulink url="http://www.nnx.me/HelpOnConfiguration/LocalSpellingWords#">LocalSpellingWords</ulink>' </para></entry><entry colsep="1" rowsep="1"><para> Name of the page containing user-provided spellchecker words [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> page_template_regex </para></entry><entry colsep="1" rowsep="1"><para> u'[a-z0-9]Template$' </para></entry><entry colsep="1" rowsep="1"><para> Pagenames containing a match for this regex are regarded as templates for new pages [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> quicklinks_default </para></entry><entry colsep="1" rowsep="1"><para> [] </para></entry><entry colsep="1" rowsep="1"><para> 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. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> refresh </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> refresh = (minimum_delay_s, targets_allowed) enables use of <code>#refresh 5 PageName</code> processing instruction, targets_allowed must be either <code>'internal'</code> or <code>'external'</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> search_results_per_page </para></entry><entry colsep="1" rowsep="1"><para> 10 </para></entry><entry colsep="1" rowsep="1"><para> Number of hits shown per page in the search results </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> shared_intermap </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> Path to a file containing global <ulink url="http://www.nnx.me/HelpOnConfiguration/InterWiki#">InterWiki</ulink> definitions (or a list of such filenames) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_hosts </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> Disable this option to hide host names and IPs </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_interwiki </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Enable this option to let the theme display your interwiki name </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_login </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> Disable this option to get login/logout action removed </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_names </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> Disable this option to hide names from the info view and <ulink url="http://www.nnx.me/HelpOnConfiguration/RecentChanges#">RecentChanges</ulink> (this was previously done by show_hosts) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_section_numbers </para></entry><entry colsep="1" rowsep="1"><para> 0 </para></entry><entry colsep="1" rowsep="1"><para> 1 to show section numbers in headings by default </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_timings </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Shows some timing values at bottom of page - used for development </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> show_version </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Show <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink>'s version at the bottom of each page </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> sitename </para></entry><entry colsep="1" rowsep="1"><para> u'Untitled Wiki' </para></entry><entry colsep="1" rowsep="1"><para> Short description of your wiki site, displayed below the logo on each page, and used in RSS documents as the channel title [Unicode] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> stylesheets </para></entry><entry colsep="1" rowsep="1"><para> [] </para></entry><entry colsep="1" rowsep="1"><para> List of tuples (media, csshref) to insert after theme css, before user css </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> subscribed_pages_default </para></entry><entry colsep="1" rowsep="1"><para> [] </para></entry><entry colsep="1" rowsep="1"><para> List of preset page subscriptions which is set for a new user on account creation. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> superuser </para></entry><entry colsep="1" rowsep="1"><para> [] </para></entry><entry colsep="1" rowsep="1"><para> List of trusted user names with wiki system administration super powers (not to be confused with ACL admin rights!). For an example see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnSuperUser#">HelpOnSuperUser</ulink>. Used for e.g. making full backups, software installation, language installation via <ulink url="http://www.nnx.me/HelpOnConfiguration/SystemPagesSetup#">SystemPagesSetup</ulink> and more. See also <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnPackageInstaller#">HelpOnPackageInstaller</ulink>.</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> supplementation_page </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> Enable to show <code>supplementation_page_name</code> in theme for each page</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> supplementation_page_name</para></entry><entry colsep="1" rowsep="1"><para>u'Discussion'</para></entry><entry colsep="1" rowsep="1"><para>default name for <code>supplementation_page</code></para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> supplementation_page_template</para></entry><entry colsep="1" rowsep="1"><para>u'DiscussionTemplate'</para></entry><entry colsep="1" rowsep="1"><para>default template for <code>supplementation_page</code></para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> textchas </para></entry><entry colsep="1" rowsep="1"><para> {} </para></entry><entry colsep="1" rowsep="1"><para> dict of anti-spam questions/answers, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnTextChas#">HelpOnTextChas</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> textchas_disabled_group </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> group name which members don't get textchas, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnTextChas#">HelpOnTextChas</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> theme_default </para></entry><entry colsep="1" rowsep="1"><para> 'modern' </para></entry><entry colsep="1" rowsep="1"><para> the name of the theme that is used by default (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> theme_force </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> If True, do not allow to change the theme </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> trail_size </para></entry><entry colsep="1" rowsep="1"><para> 5 </para></entry><entry colsep="1" rowsep="1"><para> Number of pages in the trail of visited pages </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> tz_offset </para></entry><entry colsep="1" rowsep="1"><para> 0.0 </para></entry><entry colsep="1" rowsep="1"><para> default time zone offset in hours from UTC </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> ua_spiders </para></entry><entry colsep="1" rowsep="1"><para> ...|google|wget|... </para></entry><entry colsep="1" rowsep="1"><para> A regex of HTTP_USER_AGENTs that should be excluded from logging </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> url_mappings </para></entry><entry colsep="1" rowsep="1"><para> {} </para></entry><entry colsep="1" rowsep="1"><para> lookup table to remap URL prefixes (dict of <code>'prefix': 'replacement'</code>); especially useful in intranets, when whole trees of externally hosted documents move around </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> url_prefix_static </para></entry><entry colsep="1" rowsep="1"><para> '/moin_static160' </para></entry><entry colsep="1" rowsep="1"><para> 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 <code>url_prefix = '/wiki'</code> setting. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> url_prefix_action </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> 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. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> unzip_attachments_count </para></entry><entry colsep="1" rowsep="1"><para> 51 </para></entry><entry colsep="1" rowsep="1"><para> max. number of files which are extracted from the zip file </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> unzip_attachments_space </para></entry><entry colsep="1" rowsep="1"><para> 200MB </para></entry><entry colsep="1" rowsep="1"><para> max. total amount of bytes can be used to unzip files </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> unzip_single_file_size </para></entry><entry colsep="1" rowsep="1"><para> 2MB </para></entry><entry colsep="1" rowsep="1"><para> max. size of a single file in the archive which will be extracted</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_autocreate </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> If set to True user accounts are created automatically (see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnAuthentication#">HelpOnAuthentication</ulink>). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_checkbox_defaults </para></entry><entry colsep="1" rowsep="1"><para> dict </para></entry><entry colsep="1" rowsep="1"><para> Sets the default settings of the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink> checkboxes. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> or <code>multiconfig.py</code> for the default settings. Example: <code>user_checkbox_defaults = {'edit_on_doubleclick': 0}</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_checkbox_disable </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> a list of checkbox names to be disabled in the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. A disabled checkbox is displayed greyedout and uses the default value set in <code>user_checkbox_defaults</code>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_checkbox_fields </para></entry><entry colsep="1" rowsep="1"><para> <code>[...]</code> </para></entry><entry colsep="1" rowsep="1"><para> list of checkbox items, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> or <code>multiconfig.py</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_checkbox_remove </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> a list of checkbox names to be removed from the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. A removed checkbox uses the default value set in <code>user_checkbox_defaults</code>. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_dir </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> share user data between multiple wikis. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnUserHandling#">HelpOnUserHandling</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_email_unique </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> check emails for uniqueness and don't accept duplicates. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_form_defaults</para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> a list of form defaults for <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_form_disable </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> a list of form field names to be disabled in the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. A disabled field is displayed greyed out and uses the default value set in <code>user_form_defaults</code>. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_form_fields </para></entry><entry colsep="1" rowsep="1"><para> <code>[...]</code> </para></entry><entry colsep="1" rowsep="1"><para> list of userprefs form items, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> or <code>multiconfig.py</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_form_remove </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> a list of form field names to be removed from the <ulink url="http://www.nnx.me/HelpOnConfiguration/UserPreferences#">UserPreferences</ulink>. A removed form field uses the default value set in <code>user_form_defaults</code>. See <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/UserPreferences#">/UserPreferences</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> user_homewiki </para></entry><entry colsep="1" rowsep="1"><para> <code>Self</code> </para></entry><entry colsep="1" rowsep="1"><para> interwiki name of the wiki where the user home pages are located (useful if you have <emphasis>many</emphasis> users). You could even link to nonwiki &quot;user pages&quot; if the wiki username is in the target URL. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> xapian_index_dir </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> 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 <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnXapian#">HelpOnXapian</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> xapian_index_history </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> 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 <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnXapian#">HelpOnXapian</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> xapian_search </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> enables Xapian search, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnXapian#">HelpOnXapian</ulink> for more information on the setup </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> xapian_stemming </para></entry><entry colsep="1" rowsep="1"><para> True </para></entry><entry colsep="1" rowsep="1"><para> enables stemming of terms in Xapian (Note: needs rebuilding the index, see <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnXapian#">HelpOnXapian</ulink>) </para></entry></row></tbody></tgroup></informaltable><para>Some values can only be set from <code>MoinMoin/config/__init__.py</code> (part of the <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink> code and thus GLOBALLY changing behaviour of all your wikis), but not from the individual wiki's config - you should only touch them if you know what you are doing: </para><informaltable><tgroup cols="3"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para> charset </para></entry><entry colsep="1" rowsep="1"><para> 'utf-8' </para></entry><entry colsep="1" rowsep="1"><para> the encoding / character set used by the wiki <inlinemediaobject><imageobject><imagedata depth="15" fileref="http://www.nnx.me//moin_static197/ninuxtheme02/img/attention.png" width="15"/></imageobject><textobject><phrase>&lt;!&gt;</phrase></textobject></inlinemediaobject> <emphasis role="strong">Do not change this - it is not tested and we can't support it.</emphasis>  </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> lowerletters </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>ucs-2 lowercase letters</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> Lowercase letters, used to define what is a <ulink url="http://www.nnx.me/HelpOnConfiguration/WikiName#">WikiName</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> smileys </para></entry><entry colsep="1" rowsep="1"><para> [...] </para></entry><entry colsep="1" rowsep="1"><para> a list of smiley markups <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink> supports - image and image sizes are defined in the theme code. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> umask </para></entry><entry colsep="1" rowsep="1"><para> 0770 </para></entry><entry colsep="1" rowsep="1"><para> umask used by <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink>, the default gives rights to owner and group, but not to world. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> upperletters </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>ucs-2 uppercase letters</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> uppercase letters, used to define what is a <ulink url="http://www.nnx.me/HelpOnConfiguration/WikiName#">WikiName</ulink> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> url_schemas </para></entry><entry colsep="1" rowsep="1"><para> <code>[]</code> </para></entry><entry colsep="1" rowsep="1"><para> additional URL schemas you want to have recognized (list of strings; e.g. <code>['ldap', 'imap']</code>) </para></entry></row></tbody></tgroup></informaltable></section><section><title>Related Topics</title><itemizedlist><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnInstalling/StandaloneServer#">HelpOnInstalling/StandaloneServer</ulink> </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnAccessControlLists#">HelpOnAccessControlLists</ulink> - how to manage access to pages with ACLs </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnThemes#">HelpOnThemes</ulink> - how to change the appearance of your wiki </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnSpellCheck#">HelpOnSpellCheck</ulink> - how to configure and maintain the spell checking option </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/EmailSupport#">/EmailSupport</ulink> - how to work with emails in <ulink url="http://www.nnx.me/HelpOnConfiguration/MoinMoin#">MoinMoin</ulink>. </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnXmlPages#">HelpOnXmlPages</ulink> (configure both XML and DocBook rendering) </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/SecurityPolicy#">/SecurityPolicy</ulink> </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/FileAttachments#">/FileAttachments</ulink> </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/ApacheVoodoo#">/ApacheVoodoo</ulink> </para></listitem><listitem><para><ulink url="http://www.nnx.me/HelpOnConfiguration/HelpOnConfiguration/SurgeProtection#">/SurgeProtection</ulink> </para></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpForDevelopers#">HelpForDevelopers</ulink> <ulink url="http://www.nnx.me/HelpOnConfiguration/HelpForUsers#">HelpForUsers</ulink> </para></section></article>