Currently, we have one master wiki (FrontPage) for the system pages in MoinMoin. If we want to branch MoinMoin 1.x in order to maintain it, we want to supply further documentation updates for it.

Because having a MoinMaster wiki for help pages as soon as possible in the 1.y dev process is important in order to maximize the benefit of peer review, we should install such a possibility as soon as we switch to 1.y development.

But how to maintain two wiki branches? There are several possibilities ...

Staging Possibilities

Two wikis

We clone MoinMaster and sync them manually.

Neat parsers generate different content on different revisions

Think of a page consisting of such patterns:

Ham. Ham. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. Ham. Ham. 

Feature 1. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. 

{{{#!feature >1.y
Feature 2. Ham. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. Ham. 
}}``}

{{{#!feature =1.x
Feature 1. broken.  Ham.  Ham.  Ham.  Ham.  Ham. 
}}``}

Advantages:

Disadvantages:

Using a config item etc. we could control the parser in order to filter certain revisions (standard values: just show current revision (in releases), show all revisions with some neat borders around them (on MoinMaster)).

Text annotations

Ham. Ham. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. Ham. Ham. 

Feature 1. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. 

Feature 2. Ham. Ham. Ham. Ham. Ham. Ham. Ham. 
Ham. Ham. Ham. Ham. Ham. [[feature(1.y)]]

Either with or without a macro which adds a nice standard text (wikipedia uses this pattern a lot).

Advantages:

Disadvantages:

Discussion

MoinMoin: MoinMasterBranches (last edited 2008-05-15 14:20:25 by JohannesBerg)