Edit a single wiki section

Description

Wiki section edit plugin provides the ability to edit one section, rather the whole wiki page ( based on t:#6921, referenced in t:#1024 )

An edit button appears at the end of a section heading you hover over it.

Bugs/Feature Requests

Existing bugs and feature requests for SectionEditPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Install

easy_install http://trac-hacks.org/svn/sectioneditplugin/0.12

Don't forget to put this into your trac.ini:

[components]
tracsectionedit.* = enabled

or enable it though the /admin/general/plugin panel. Web server or Trac restart is not required.

Configure

Configuration options are placed in the [section-edit] section of your trac.ini.

Parameter Default Description
preview_whole_page true Whether to preview the entire page or just the section being edited (true/false)
edit_subsections false Whether to edit all subsections or just the section.

Recent Changes

[11208] by rjollos on 01/27/12 22:44:23

Some code cleanup:

  • Use regex from Trac 0.12 wiki module for matching request.
  • Remove serve_ui_files option, which appeared to be useful only for debugging. Someone please correct me if I'm wrong about this.

[11205] by rjollos on 01/27/12 06:58:16

Fixes #6342: (0.2.6) Added a new trac.ini option edit_subsections. When True, all subsections of a section will be displayed for editing. The default is False, preserving the existing behavior.

The 0.12 and 0.11 branches wil be combined in the near future, at which point this feature will be available for 0.11.

[11204] by rjollos on 01/27/12 06:49:26

Refs #4970: Removing 0.12dev branch for now.

[11203] by rjollos on 01/27/12 06:13:44

Fixes #6169: (0.2.5) FIX: If the last section was being edited, the last line would be duplicated.

Author/Contributors

Author: cbalan
Maintainer: cbalan
Contributors: rjollos

Attachments