welcome: please sign in

The following 306 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
about   absolutely   account   actions   Actions   active   actually   add   Add   Additional   Admin   all   also   an   and   any   anyway   are   as   at   attachments   author   Auto   available   Bad   barebones   based   basic   be   binaries   bottom   break   but   by   cache   call   calling   can   Category   change   Changes   check   checkbox   Checkboxes   choice   classes   classic   click   complicated   Configuration   configuration   contain   contains   Content   Contents   copy   could   create   data   default   defaults   define   delete   deleted   describes   destination   development   did   dir   directories   directory   Disable   disable   disabled   displayed   distributed   do   document   double   doubleclick   each   Each   edit   editor   elements   email   empty   English   errors   especially   essential   existing   extra   farm   fewer   fields   file   files   find   folders   for   force   forever   found   from   functions   get   global   go   good   Group   hand   has   have   headings   Help   here   home   homepage   Homepage   how   htdocs   if   If   in   In   info   Info   information   Inside   install   installed   Installing   instance   instruction   is   it   It   lambda   language   languages   Languages   last   latest   least   like   links   Local   log   look   macros   mailto   maint   make   mark   may   maybe   might   minimal   minimum   more   multiconfig   must   my   name   named   names   need   needed   new   no   non   nonexist   not   now   number   numbers   Of   of   On   on   one   only   Open   option   Options   options   or   other   others   outputdir   own   packages   packed   page   pagelinks   Pages   pages   parts   per   plus   preferences   Publish   purposes   py   qm   question   Recent   reduce   reducewiki   remember   remove   Remove   rename   revision   rightsidebar   scripts   see   seems   served   setting   settings   Settings   Setup   show   Show   small   so   some   something   Sometimes   space   spaces   specific   Spelling   still   structure   styles   subfolder   system   System   Table   take   target   Template   testing   that   The   the   their   them   theme   themes   then   These   these   they   this   This   thought   three   time   to   To   together   top   topbottom   trail   true   two   under   underlay   understand   unpack   unsupported   update   use   used   user   User   value   values   version   via   view   virgin   visit   want   we   web   What   what   where   which   wiki   wikiconfig   wikiname   wikis   will   with   Words   work   yet   You   you   your  

Clear message
Page Locked

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.

1.1. htdocs / wiki

you will need at least one theme, you could delete the others. If you for instance want to delete the 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 to 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 setting theme_force=true in the wikiconfig file.

1.2. MoinMoin binaries

You will need to have the "MoinMoin" 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:

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.5.1. checkbox minimum

with these checkbox fields you will not any get errors on calling user preferences

    user_checkbox_fields = [
    # needed fields:
        ('mailto_author', lambda _: _('Publish my email (not my wiki homepage) in author info')),
        ('show_nonexist_qm', lambda _: _('Show question mark for non-existing pagelinks')),
        ('show_page_trail', lambda _: _('Show page trail')),
        ('wikiname_add_spaces', lambda _: _('Add spaces to displayed wiki names')),
        ('edit_on_doubleclick', lambda _: _('Open editor on double click')),
        ('show_topbottom', lambda _: _('Show top/bottom links in headings')),
    # I want this one anyway:
        ('disabled', lambda _: _('Disable this account forever'))
    # if we have these fields, they need to have defaults:
    user_checkbox_defaults = {'mailto_author':       0,
                              'show_nonexist_qm':    0,
                              'show_page_trail':     1,
                              'wikiname_add_spaces': 0,
                              'edit_on_doubleclick': 0,
                              'show_topbottom':      0

1.5.2. Additional Remove Checkboxes

You can also remove some of these settings with user_checkbox_remove

   user_checkbox_remove = ['show_nonexist_qm', 'show_page_trail', 'wikiname_add_spaces', 'edit_on_doubleclick', 'show_topbottom', 'remember_last_visit']

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 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.