1 Other MoinMoin help topics
Subtopics
Contents
- Other MoinMoin help topics
- Special features for wiki farms and intranets
- Centralized settings
- Remapping URLs
- TODO
1.1 Special features for wiki farms and intranets
The following shows how certain features can help you to optimize your configuration when you run several wikis on one host, or when you use MoinMoin in intranet environments.
1.1.1 Centralized settings
- farm_config.py
- shared intermap.txt
- shared code base and icons
1.1.2 Remapping URLs
The configuration variable "url_mappings" can be used to remap absolute URLs to relative ones, or change certain URL prefixes to totally different ones. This is especially useful in intranets, when whole trees of documents hosted outside of the wiki move around.
"url_mappings" is a lookup table in the form of a dict, the key is the prefix to be replaced, the value is the replacement. A typical example is url_mappings = {'http://my.server.net/': '/'}, which removes the scheme from local URLs, and thus makes links to your own server work for both http and https.
1.2 TODO
TODO: explain the following things in detail, and add more detail to the above sections
Needing more explanation:
- event logging
- Page trails (user option)
- UserPreferences: checkboxes for double-click edit, page trail, fancy links, emoticons, jump to last page visited, and some other yes/no options
- "Remove trailing whitespace from each line" option in the editor
- Page templates (create a new page using a template page)
- Only "normal" URLs (outside of brackets) are converted to inline images ==> document exact rules
- Highlighting of search results, and of bad words when spellchecking
- Support for "file:" URLS
- email notification features
- "RSS" icon displayed by RecentChanges macro
- commentary field of editor, recent changes and page info
- Page caching, for now limited to XSLT processing (where it's absolutely needed); new code & API to add the "RefreshCache" link
- inline search fields (at the bottom of each page)
- the interwiki name "Self" now always points to the own wiki
- page info action
Admin stuff:
- describe "moin.cgi?test" tool in more detail
- WikiFarm support:
- <datadir>/plugin/macro and <datadir>/plugin/action can be used to store macros and actions local to a specific wiki instance
- config.shared_intermap can contain a pathname to a shared "intermap.txt" file (i.e. one stored outside the datadir)
- $PAGE placeholder in interwiki map
Command-line tools:
- "moin-dump" command line tool to create a static copy of the wiki content
- though not extensively tested, the standalone server now does POST requests, i.e. you can save pages; there are still problems with persistent global variables! It only works for Python >= 2.0.
Compatibility:
- Statistical features are NOT designed to work with Python 1.5.2 and require Python 2.0 or higher. Overall, MoinMoin 0.11 is not explicitely tested for 1.5.2 compatibility. The lowest recommended Python version is 2.0!
- RSS features require a recent PyXML (CVS or 0.7) due to bugs in the namespace handling of xml.sax.saxutils in earlier versions. This is (hopefully) automatically detected on every installation.