Candidate for Moving
This article may not be appropriate for this wiki, and should be moved to the Team wiki. More info...

  • Branch: UbuntuTrack

  • Malone bug:
  • Packages affected:
  • Depends:
  • Dependents:

    Display context of search results
    Case-sensitive searching
  • BoF sessions: none yet


For the German LoCoTeam i've written a MoinMoin exporter script.

You can try out the exporter function by via rsync:

rsync -rv rsync://ubuntuusers.de/ubuntu-de-wiki destination_directory

The online wiki version (for comparison) is located at wiki.ubuntuusers.de.

\sh contacted me with the whish to extend this script for all locoteam MoinMoin installations out there.

Implementation Problems

Currently the exporter script requires some special macros only available on the German and Italian MoinMoin installation. This macro implements a simple thumbnailer and caching tool. It uses the common attachment system but the current exporter only converts attachments included by this tag.

The next problem on the list is a better searchindex. The current version implements a local searchengine using AJAX and a searchindex. But the indexer don't know stopwords and only scans german text with umlauts.

The german locoteam also disabled CamelCase Links and has created all System-Pages from scratch. So RecentChanges has moved To Wiki/Letzte_Ă„nderungen and so on.

Some pages like RecentChanges are senseless in a local version. This should get replaced by static html pages, fetching the RSS Recent Changes Feed over AJAX. Pages like FindPage should get replaced by a static html JavaScript Seach page...

Pages where the default user (user All) has no access the parser quits this with "You don't have access to this page". I'm working on parsing the ACL rules for finding out if the parser has to convert this page.

Current Implementation

  • Parser

    1. fetches pagelist
    2. scans for attachments
    3. parsed pages
    4. sourround parsed pages with a template
    5. converts links to local pages
    6. copies linked attachments into a attachment folder
    7. adjust attachment links and references
    8. adjust links to template content
  • Overwrite Script

    1. scans the raw_content directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions

    2. copy template related images and so on into a local img folder


A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository.

If this project gets approved it would be cool to distribute the Wiki Snapshots over a official Server. All the LoCoTeams have to do is to convert there pages with the exporter script and sync them with the official server via rsync.


For question and answers contact me via email or on freenode.


Use cases





Data preservation and migration

Outstanding issues

BoF agenda and discussion

FrozenWiki (last edited 2008-09-13 17:39:26 by crlspr-69)