变量名 缺省 中文系统支持page_category_regexur'(?P&lt;all&gt;Category(?P&lt;key&gt;\S+))' ur'(?P&lt;all&gt;(?P&lt;prefix&gt;Category)?(?P&lt;key&gt;\S+)(?(prefix)|类))'page_dict_regex ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)Dict)' ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)(Dict|字典))'page_group_regex ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)Group)' ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)(Group|组))'page_template_regex ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)Template)' ur'(?P&lt;all&gt;(?P&lt;key&gt;\S+)(Template|模板))'page_include_regex u'.+Inc$|.+Inc/' u'.+Inc$|.+Inc/'<?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>帮助-系统设置</title></articleinfo><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/idea.png" width="16"/></imageobject><textobject><phrase>(!)</phrase></textobject></inlinemediaobject> Last time someone helped with translation of this page was 2006-03-23. There may be differences to <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnConfiguration#">HelpOnConfiguration</ulink>. </para><para>我们简单地把英文的系统设置帮助包含在这里, 如果您有时间, 请帮忙翻译成简体中文。为了正确地使用简体中文，除了英文系统必要的一些设置外，还需要在<code>wikiconfig.py</code>中设置如下的选项： </para><!--RAW HTML: <form action="/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE" method="GET" name="dbw.form">--><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"><emphasis role="strong"/></entry><entry colsep="1" rowsep="1"><emphasis role="strong"/></entry><entry colsep="1" rowsep="1"><emphasis role="strong"/></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"/></row></tbody></tgroup></informaltable><!--RAW HTML: </form>--><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9%E7%9B%AE%E5%BD%95#">帮助目录</ulink> &gt; <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86#">帮助-系统管理</ulink> &gt; <link linkend="">帮助-系统设置</link> </para><para><emphasis role="strong">子页面</emphasis> </para><itemizedlist><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E5%B1%82%E5%8F%A0%E6%A0%B7%E5%BC%8F%E8%A1%A8#">/层叠样式表</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E9%82%AE%E4%BB%B6%E6%94%AF%E6%8C%81#">/邮件支持</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E8%AE%BF%E9%97%AE%E6%9D%83%E9%99%90%E6%8E%A7%E5%88%B6%E8%A1%A8#">帮助-访问权限控制表</ulink> (权限/用户控制) </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E5%AE%89%E5%85%A8%E7%AD%96%E7%95%A5#">/安全策略</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E9%99%84%E4%BB%B6#">/附件</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/ApacheVoodoo#">/ApacheVoodoo</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4#">/过载保护</ulink> </para></listitem><listitem><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/%E7%94%A8%E6%88%B7%E8%AE%BE%E7%BD%AE#">/用户设置</ulink> (禁用/移除用户) </para></listitem></itemizedlist><para><emphasis role="strong">目录</emphasis> <!--The macro TableOfContents doesn't work with the DocBook formatter.--> </para><section><title>配置单独的维基</title><para>如要运行单独的维基, 你不需要复制“farmconfig.py”文件到配置目录中(删除它和“.pyc”文件，如果它们在那里)。如果没有farmconfig，moin就使用默认的<code>wikiconfig.py</code>。 </para><para><code>wikiconfig.py</code>一般和您的<code>moin.cgi</code>脚本放置在一起。如果你想自定义安装，那么它可以放置在任何地方，但是你必须把它所在的目录加入到你的服务器脚本的Python系统目录中。参考您的服务器脚本中“系统路径配置”一节。 </para><section><title>维基配置文件结构</title><para>wiki/farmconfig.py 结构: </para><screen><![CDATA[# -*- coding: iso-8859-1 -*-
]]><![CDATA[
from MoinMoin.multiconfig import DefaultConfig
]]><![CDATA[
class Config(DefaultConfig):
]]><![CDATA[
    sitename = u'MyWiki'   # u 意味着字符串转化为Unicode格式
    interwikiname = 'MyWiki'
    data_dir = '/where/ever/mywiki/data/'
    underlay_dir = '/where/ever/mywiki/underlay/'
    
    # 更多设置...]]></screen><itemizedlist><listitem><para>第一步，你必须定义配置文件的编码。缺省配置只能用于Latin(&quot;西方&quot;)语种，若要进行国际化配置，请阅读下一个部分。如果不定义配置文件的代码，你就无法使用非ASCII字符。 </para></listitem><listitem><para>下一步导入Moin的内部缺省配置。缺省配置设置了所有配置的属性，所以不必去定义所有的属性，只需要定制想要的属性即可。 </para></listitem><listitem><para>然后定义名为&quot;Config&quot;的新的配置类，从导入的缺省配置中继承所有设置。注意这个类的名字必须叫做&quot;Config&quot;。 </para></listitem><listitem><para>下面几行是Config类的配置选项。注意每一行必须缩进4个空格，不允许使用制表符(tab)。如果缩进错误，Moin就无法运行。 </para></listitem><listitem><para>一个常用的配置项是<code>sitename</code> - 大多数情况下，你不希望wiki的名字是默认的&quot;Untitled Wiki&quot;。你可以使用任何语言定义任何wiki的名字，但是在此之前，请阅读下一节关于Unicode的设置。 </para></listitem><listitem><para>如果你按照安装建议操作，那么wiki会正常运行。但是也许你还想改变其他配置，比如<code>data_dir</code>，<code>data_underlay_dir</code>，<code>acl_rights_before</code> 等等。大多数情况下，修改安装包自带的<code>wikiconfig.py</code>文件中的配置就足够了。 </para></listitem><listitem><para>没有定义的其他选项都从继承的Default<emphasis role="strong"/>Config类中获得。 </para></listitem></itemizedlist></section></section><section><title>Unicode选项</title><itemizedlist><listitem override="none"><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/attention.png" width="16"/></imageobject><textobject><phrase>&lt;!&gt;</phrase></textobject></inlinemediaobject> <emphasis role="strong">重要信息: 如要使用unicode，你必须在配置文件第一行设置正确的编码。请检查你的编辑器配置是否正确。</emphasis> </para></listitem></itemizedlist><para>有一些配置<emphasis role="strong">必须</emphasis>使用unicode表示。例如，网站名称(site name)可能包含德语/法语/汉语/阿拉伯语/。因此，你必须使用unicode字符串表示这些配置。 Unicode字符串通过前置字母<code>u</code>表示。下面是一些例子: </para><screen><![CDATA[    # 网站名称，默认用于wiki名称logo [Unicode]
    sitename = u"Jürgen's Wiki"
    # 另一个例子:
    sitename = u'הוויקי של יורגן'']]></screen><para>请阅读配置文件中的注视，其中会提示那些选项必须使用unicode表示。 </para><para>注意:  </para><itemizedlist><listitem><para>不能在一个文件中混合使用多种编码。如果编码是<code>iso-8859-1</code>，则所有的字符串和整个文件内容都必须是这种编码的。 </para></listitem><listitem><para>如果你使用utf-8编码(或者 plain ascii)，就不需要使用unicode字符串，moin会自动对字符串解码。New in 1.3.2. </para></listitem></itemizedlist></section><section><title>国际化设置</title><para>默认的配置文件是<code>iso-8859-1</code>编码。对于拉丁语系的语言，比如英语、德语，这种编码没有任何问题，但是对于非拉丁语系的语言就不适用了。如果你要在配置文件中使用非拉丁字符，请将配置文件用utf-8编码。 </para><para>设置所有配置文件的第一行如下: </para><screen><![CDATA[# -*- coding: utf-8 -*-]]></screen><itemizedlist><listitem override="none"><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/alert.png" width="16"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> 你需要一个能够使用utf-8编码的编辑器。 </para></listitem></itemizedlist><para>使用unicode字符串的选项 (国际化用户可能会修改它们): </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 - New in 1.3.2 </para></listitem><listitem><para>page_local_spelling_words - New in 1.3.2 </para></listitem><listitem><para>acl_rights_default - New in 1.3.2 </para></listitem><listitem><para>acl_rights_before - New in 1.3.2 </para></listitem><listitem><para>acl_rights_after - New in 1.3.2 </para></listitem><listitem><para>mail_from - New in 1.5.0 </para></listitem></itemizedlist><para>For ready made configuration in your language, see MoinMoin:ConfigMarket. Read also the section about unicode options. </para></section><section><title>配置多个维基</title><para><ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/MoinMoin#">MoinMoin</ulink>可以在仅安装一次、单独配置文件、单独服务器进程的情况下，处理多个维基。特别是对像twisted这样的持久运行环境，这个功能是很有必要的，因为twisted服务器可能会在特殊的IP地址和TCP端口长久运行。所以对于一个IP和端口上的多域(维基)的虚拟主机，需要维基引擎持续能够同时加载多个配置并正确处理访问请求。 </para><para>为了选择正确配置，moin使用配置文件<code>farmconfig.py</code>中的变量<code>wikis</code> - 其包含<code>(wikiname, url-regex)</code>一对对的列表。 <code>wikiname</code>只能使用正确的python语法(确切的说: <code>identifier ::= (letter|&quot;_&quot;) (letter | digit | &quot;_&quot;)*</code> - 如果你不能理解这个语法，那么使用简单的单词就可以了)。当处理对某个URL的访问请求时，moin搜索这个列表，试图匹配URL。如果不能匹配，则试图匹配下一对。如果匹配，moin加载名为<code>&lt;wikiname&gt;.py</code>的配置文件(通常位于相同目录) 。 </para><para>发行包中的<code>farmconfig.py</code>文件包含一些维基农场(wiki farm)的配置例子。你应该修改这个文件以适应自身的需要。 </para><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/alert.png" width="16"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> 为了简化帮助文件的编写，我们将这些<code>&lt;wikiname&gt;.py</code>配置文件称为<code>wikiconfig.py</code>，你应该根据自己的需要使用适当的文件名。 </para><para>既然你已经修改了<code>farmconfig.py</code>中的设置(见上)，我们在这里只给一些提示，希望可以节省你的时间。同时请你阅读单独的维基配置提示，因为在那里已经解释了配置继承的原理。 </para><para>现在我们使用基于类的配置在一个单独的位置设置常用选项，这就是配置基类。(请看<code>farmconfig.py</code>中的例子): </para><para><emphasis role="strong">farmconfig.py</emphasis>: </para><screen><![CDATA[# -*- coding: iso-8859-1 -*-
# farmconfig.py:
from MoinMoin.multiconfig import DefaultConfig
class FarmConfig(DefaultConfig):
    url_prefix = '/wiki'
    show_hosts = 1
    underlay_dir = '/where/ever/common/underlay'
    # ...]]></screen><itemizedlist><listitem override="none"><para>说明: </para><itemizedlist><listitem><para>首先导入默认配置 </para></listitem><listitem><para>现在定义新的农场(farm)配置类 - 继承自默认配置 </para></listitem><listitem><para>然后我们改变所有维基的通用设置，暂时不修改那些各有不同的设置 </para></listitem><listitem><para>这个Farm<emphasis role="strong"/>Config类将在维基的配置文件中使用，它将代替moin内部的Default<emphasis role="strong"/>Config类 </para></listitem></itemizedlist></listitem></itemizedlist><para>这样一来，每个单独的维基只需要设定各有不同的设置选项即可(比如logo，数据目录或者ACL设置)。其他的设置都从基本配置类中继承而来，请看<code>moinmaster.py</code>示例: </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 = 0
    sitename = u'MoinMaster'
    interwikiname = 'MoinMaster'
    data_dir = '/org/de.wikiwikiweb.moinmaster/data/'
    # ...]]></screen><itemizedlist><listitem override="none"><para>说明: </para><itemizedlist><listitem><para>请参考单独维基的配置，两者唯一的区别在于: 类继承自Farm<emphasis role="strong"/>Config (它继承自Default<emphasis role="strong"/>Config)，而不是直接继承自Default<emphasis role="strong"/>Config </para></listitem><listitem><para>现在将<code>show_hosts</code>设置为0 - 我们希望农场中大部分维基都有此选项，但这个维基除外 </para></listitem><listitem><para>还要设置sitename，interwikiname和data_dir(常见设置) </para></listitem></itemizedlist></listitem></itemizedlist></section><section><title>配置选项总览</title><para>下面的表格包含所有配置变量的默认值和简短描述。大部分选项可以使用默认值，无须改动。每次安装都需要改动的选项已经写在发行包中自带的<code>wikiconfig.py</code>文件中了。 </para><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/alert.png" width="16"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> 从moin 1.3.1开始，有些选项必须使用unicode字符串。请阅读unicode选项一节的内容。 </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">变量名</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">默认值</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">描述</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 0</para></entry><entry colsep="1" rowsep="1"><para> True 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 0) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> actions_excluded </para></entry><entry colsep="1" rowsep="1"><para> [] </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; else this has to be a dictionary with the path to attachment storage (key <emphasis>dir</emphasis>) and the equivalent URL prefix to that same dir (key <emphasis>url</emphasis>)</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> auth </para></entry><entry colsep="1" rowsep="1"><para> [moin_cookie] </para></entry><entry colsep="1" rowsep="1"><para> list of auth functions, to be called in this order (see <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnAuthentication#">HelpOnAuthentication</ulink>) </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> bang_meta </para></entry><entry colsep="1" rowsep="1"><para> 1 </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> 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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 12 hours from now until the <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/MoinMoin#">MoinMoin</ulink> cookie expires and you get logged out </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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> '...' </para></entry><entry colsep="1" rowsep="1"><para> Path to the docbook html directory (optional, used by the docbook parser). The default value is correct for Debian Sarge. </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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnSkins#">HelpOnSkins</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnLanguages#">HelpOnLanguages</ulink>!</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> lupy_search </para></entry><entry colsep="1" rowsep="1"><para> False </para></entry><entry colsep="1" rowsep="1"><para> use the lupy indexing search engine (DEPRECATED, gone in 1.6) </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. mail_from = u'Jürgen Wiki &lt;<ulink url="mailto:noreply@example.com">noreply@example.com</ulink>&gt;'. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/EmailSupport#">/EmailSupport</ulink>. New in 1.6. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> mail_import_wiki_address </para></entry><entry colsep="1" rowsep="1"><para> None </para></entry><entry colsep="1" rowsep="1"><para> The e-mail address of the e-mails that should go into the wiki See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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> 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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 0 </para></entry><entry colsep="1" rowsep="1"><para> Default for displaying <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> ur'(?P&lt;all&gt;Category(?P&lt;key&gt;\S+))'</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnSkins#">HelpOnSkins</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnSkins#">HelpOnSkins</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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 (see <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnSkins#">HelpOnSkins</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 (see <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnSkins#">HelpOnSkins</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> 0 </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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 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> 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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 1 </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> 0 </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> 1 </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> 1 </para></entry><entry colsep="1" rowsep="1"><para> Disable this option to hide names from the info view and <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> True 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> 0 </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> 0 </para></entry><entry colsep="1" rowsep="1"><para> Show <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> 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!). Used for e.g. making full backups, software installation, language installation via <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/SystemPagesSetup#">SystemPagesSetup</ulink> and more. See also <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnPackageInstaller#">HelpOnPackageInstaller</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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 </para></entry><entry colsep="1" rowsep="1"><para> '/wiki' </para></entry><entry colsep="1" rowsep="1"><para> used as the base URL for icons, css, etc. </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>the 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>this 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>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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/UserPreferences#">UserPreferences</ulink> checkboxes. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/UserPreferences#">UserPreferences</ulink>. A removed checkbox uses the default value set in <code>user_checkbox_defaults</code>. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/UserPreferences#">/UserPreferences</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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/UserPreferences#">UserPreferences</ulink>. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/UserPreferences#">UserPreferences</ulink>. A disabled field is displayed greyedout and uses the default value set in <code>user_form_defaults</code>. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/UserPreferences#">UserPreferences</ulink>. A removed form field uses the default value set in <code>user_form_defaults</code>. See <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/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> farmconfig: 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> xmlrpc_putpage_enabled </para></entry><entry colsep="1" rowsep="1"><para> <code>False</code> </para></entry><entry colsep="1" rowsep="1"><para> True to enable wikirpc's putPage call writing to the given pagename. When False, it always writes to <ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/PutPageTestPage#">PutPageTestPage</ulink> instead of the given pagename. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> xmlrpc_putpage_trusted_only </para></entry><entry colsep="1" rowsep="1"><para> <code>True</code> </para></entry><entry colsep="1" rowsep="1"><para> Require users using putPage call to be in Trusted group (usually achieved by http auth). </para></entry></row></tbody></tgroup></informaltable><para>有些值只能在 MoinMoin/config.py 中设置(他们是<ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/MoinMoin#">MoinMoin</ulink>代码的一部分，因此对所有维基都有影响)，- 只有对系统很了解的情况下才可以修改这些值: </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 </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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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> user-defined smileys (a dict with the markup as the key and a tuple of width, height, border, image name as the value) </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 on all open(), mkdir() and similar calls </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://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/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>特殊选项</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="16" fileref="http://research.math.uvt.ro/wiki//static/moniker/img/attention.png" width="16"/></imageobject><textobject><phrase>&lt;!&gt;</phrase></textobject></inlinemediaobject> <emphasis role="strong">Do not change <code>config.charset</code>. It is not tested and we can't support this.</emphasis> </para></listitem></itemizedlist><para>此页的英文版本：<ulink url="http://research.math.uvt.ro/wiki/%E5%B8%AE%E5%8A%A9-%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/wiki/HelpOnConfiguration#">HelpOnConfiguration</ulink> </para></section></section></article>