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

[13014] by miezuit on 04/27/13 11:31:27

Fix for #11031. Better approach of splitting wiki page input into lines.

[12617] by miezuit on 02/15/13 18:58:33

Fix for #10864: Replaced GLOB with LIKE (GLOB is available only on SQLite). Handle LIKE cross-compatible way.

[12608] by miezuit on 02/13/13 10:33:02

Fix attempt for #10864 - probably an sql case sensitivity issue

[12244] by rjollos on 10/23/12 05:11:01

Fixes #10500: Corrected copyright years in setup.py.

Author/Contributors

Author: miezuit
Maintainer: miezuit
Contributors: rjollos

Attachments