Search and replace text in wiki pages

Overview

This plugin allows you to search and replace text in wiki pages.

It is based on the WikiRenamePlugin.

After replacing a new version of the wiki page is created with a log of the changes.

You can access the Wiki Search and Replace form through the Admin > Wiki Replace panel.

Screen capture of Admin panel.

Script

A script named trac-wikireplace will automatically be installed.

To use it:

trac-wikireplace old-text new-text wiki-page ... /path/to/trac/env

Permissions

A WIKI_REPLACE permission is available, though anyone with WIKI_ADMIN will also be allowed to replace in pages.

Configuration

To enable the plugin:

[components]
wikireplace.* = enabled

Bugs/Feature Requests

Existing bugs and feature requests for WikiReplacePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out WikiReplacePlugin from here using Subversion, or browse the source with Trac.

Recent Changes

[11230] by rjollos on 02/02/12 02:20:21

Fixes #6016:

  • Show a warning if the Find or Wiki pages fields are empty.
  • Show a notice of the replacement that was made.

[10717] by miezuit on 10/02/11 23:46:38

Fixed compatibility with 0.11. Refs #9223.

[10716] by miezuit on 10/02/11 23:28:42

Added compatibility with Trac 0.12 (with microseconds support). The plugin also remains compatible with 0.11. Refs #9223.

[6798] by miezuit on 10/22/09 14:08:51

fixed documentation

Author/Contributors

Author: miezuit
Maintainer: miezuit
Contributors: rjollos

Attachments