2011-09-15 Paul Boddie Changed the command syntax to require a method option before the method name. Flattened the Wiki instance hierarchy, putting the configuration, data, underlay and htdocs in the same top-level directory. Changed the location of MoinMoin 1.9 resources, installing them in the prefix hierarchy and copying only static resources into Wiki instances. Changed the handling of static resources with MoinMoin 1.9 to serve them separately just as MoinMoin 1.8 does; this makes performance much better when CGI is used under Apache. Moved the editing of the moin script into the setup method so that no attempt is made to edit system programs. Moved the example configuration files into their own directory.
     1 Generate limited hosting environment site descriptions.
     2 Add support for changing the wikis list in the farmconfig module.
     3 Support existing MoinMoin home directory installations into ~/lib/python2.x/MoinMoin.
     4   This affects the page package installation function which expects to find
     5   MoinMoin/ inside site-packages. Running "python -m" only works with
     6   modules on Python 2.4 (although MoinMoin/packages seems to work) and appears to
     7   confuse Python's import path on later versions (even if MoinMoin.packages is used).
     8 Avoid reconfiguration of existing moin script.
     9 Site directory detection.
    10 Enabled/available site listings.
    11 HTTP user integration and Apache user/group file editing.
    12 Support Xapian search and configuration.
    13   xapian_search = 1
    14   sudo -u www-data moin/bin/moin --config-dir=hgwiki/conf/ --wiki-url=http://localhost/hgwiki/ index build --mode=rebuild
    15   Perhaps configure and install Xapian plus bindings.
    16   ./configure --prefix={$moin-prefix} && make && make install
    17   ./configure --with-python --prefix={$moin-prefix} XAPIAN_CONFIG={$moin-prefix}/bin/xapian-config PYTHON_LIB={$moin-prefix}/lib/python2.5/site-packages && make && make install
    18 Support OpenID provision (
    19   openid_server_enabled = True
    20   openid_server_enable_user = True # optional, for nominating pages as user OpenID URLs
    21   openid_server_restricted_users_group = None # or a group name for OpenID users
    22 Support integration of additional theme material with themes.