Section Edit feature helps users be able to edit a section instead of the whole page. It is still missing in the MoinMoin although the other wiki engines provide it. See FeatureRequests/SectionEditing for more information.

See also the bounty for this feature.

Here I tried to add this feature with the following patches. But they may have many of bugs and have not been confirmed with the other actions. I hope the moin developers consider this feature to be stable and deployed.

Internal

The details about the internal are:

(deprecated: 2005-11-24 01:11:52)

Known Problem

Please report your experiences.

Can someone please clarify what the (./) marks mean? 'Solved' or just 'confirmed'? -- AndreasKloeckner

Sample

Try the following:

The CSS in the example Moin is to be broken for Opera (9.21 on Linux), rendering the text-editing field unusuable. A screenshot is attached, but not embedded since this is not a bug in this patch I think. With other Themes (i.e. monomoin) it works perfectly.

The example wiki does not work - section edit links lead to standard full page editor instead of the selected section.

Patches

The patches are following. they are based on 1.5b2 and 1.35 but they may not be very different from the other versions IMHO.

These patches are NOT confirmed by moin developers. Use them at your own risk.

1.9

section-edit-1.9-v1.2.patch -- AndreasKloeckner 2010-01-22 15:01:27 section-edit-1.9-v1.4.patch -- -- AndreasKloeckner 2010-10-11 19:07:12

1.7.1

I adapted SectionEditing-1.5.7.patch for 1.7.1 -- Pento 2008-09-19 11:01:45

SectionEditing-1.7.1.patch

1.5.8

The 1.5.7 patch applies fine (with some fuzz). -- TheAnarcat 2007-07-26 00:26:45

1.5.7

1.5.6

1.5.4

-- TheAnarcat 2007-02-13 22:01:17

1.5b2

1.35

Discussion

good idea!

it seems to work properly.

however the URL of this section i am editing is rather error prone: it contains the string action=edit&srev=40&startline=7&endline=22. It would be better to have an ID which does not change when there is some text been added above these lines - KAESTNER

Thanks for the patch! I managed to get it to apply to 1.5.2 release. I had to make minor modifications to the patch to get it to apply cleanly to the latest release. The patch contains filenames relative to $PYTHONROOT/Lib/site-patckages. This makes it easier to apply than the original patch which contained no path information, so that you had to manually specify file names. This is the modified patch. --SrinathAvadhanula

Is there any movement on getting this into the code base? This would be incredibly helpful! --NGilmore

Hello, I am trying to get this going on an install of MMDE 1.5.5a-1, but things are not going so good. I don't actually have a wikiaction.py, and some of the preceding lines in the diff are slightly different. Can someone point me in the right direction? Thanks. --NVA

Does anybody have patch for 1.7.1? --Pento

Has anybody tried this for 1.8? What is the plan of the developers for implementing this function as a stable feature? I think section editing is a useful and almost indispensable function for a wiki, as it is quite painful and inefficient to work on long text without this function. I sincerely wish this issue gets higher priority in moin development. Thanks. -- TakeoKatsuki 2009-08-08 15:31:34

Could we somehow add a "hide/show section" option to this feature? See TaskPlanner for how a hide/show option looks like. -- TakeoKatsuki 2010-01-22 09:38:54

MoinMoin: ExtensionProposals/SectionEditing (last edited 2010-10-11 19:07:13 by AndreasKloeckner)