| [FrontPage] [TitleIndex] [WordIndex]

# HelpOnInstalling/MinimalWiki

## 1. Installing a minimal wiki

This configuration is unsupported by moin development. If you break it, you own the parts.

This instruction is based on Moin version 1.5.x .

If web space is small, or maybe if you only need a two or three wiki pages you might not want the global install. This document describes what is absolutely essential and what is not. It is good to understand the basic structure of the MoinMoin wiki and how the elements work together.

Contents

1. Installing a minimal wiki
   1. htdocs / wiki
   2. MoinMoin binaries
   3. Pages
   4. Languages
   5. Configuration Options
   6. Actions
   7. reduce wiki

### 1.1. htdocs / wiki

you will need at least one theme, you could delete the others. If you for instance want to delete thge distributed 'classic' and 'rightsidebar' theme you have to

1. delete the folders with their names under htdocs

2. delete the scripts in MoinMoin/theme which are named 'rightsidebar.py' and 'classic.py'

Sometimes the cache seems to need some time tu update the view. To check if the styles are still available log in and go to UserSettings.

If only one theme is served you can disable the themes choice by settings `theme_force=true` in the wikiconfig file.

### 1.2. MoinMoin binaries

You will need to have the "Moin``Moin" dir installed where all classes and scripts can be found. What macros and functions we do not need is more complicated, so yet no information about it here.

### 1.3. Pages

The underlay dir per default contains the virgin system files. You can have an empty underlay directory. This must contain a subfolder "pages". If you have a wiki-farm, you might want to create an extra directory that you might call something like "underlay-barebones" and change the value for the `underlay_dir` of the specific wiki. You may want to have at least some essential pages like:

- AutoAdminGroup

- CategoryCategory

- CategoryHomepage

- CategoryTemplate

- LocalBadContent

- LocalSpellingWords

- MoinPagesEditorGroup

- RecentChanges

- SystemInfo (especially for testing)

- SystemPagesGroup

- SystemPagesInEnglishGroup

- UserPreferences

### 1.4. Languages

The languages are now attachments of the page SystemPagesSetup. Each language is packed as a ZIP file. Inside the ZIP file you find only numbers of the pages and a file MOIN_PACKAGE that describes what file number has which page name. These packages are thought to be installed via SystemPagesSetup. If you unpack them at home you will have to rename them and make the directories by hand. You could also install them in a new wiki and then copy them from the "pages" directory to the destination.

### 1.5. Configuration Options

You find all default values of the option in the file `MoinMoin/multiconfig.py`. If you want to show the user fewer options you can define this with the configuration values `user_checkbox_defaults, user_checkbox_disable, user_checkbox_fields, user_checkbox_remove` (look at HelpOnConfiguration).

### 1.6. Actions

You might want to disable some actions. To see what they actually do take a look at HelpOnActions. To see what actions are active take a look at your wikis page SystemInfo (if you did not delete it).

### 1.7. reduce wiki

If you want to to reduce a data/ directory to the latest page revision of each non-deleted page (plus all attachments) you can use `moin ... maint reducewiki --target-dir=outputdir`. This is used to make the distributed underlay directory, but can also be used for other purposes.

2007-07-30 15:45