Version 4 (modified by Gasler Radu, 14 years ago) (diff)


Replace text in wiki pages

Notice: This plugin is unmaintained and available for adoption.


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

It is based on the wikirename plugin:

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

You can access the page search & replace form through the Admin system > Wiki Replace.


text to find


text to replace with

Wiki Pages:

a list of wiki pages, each page should be on a separate line; you may use * and ? wildcards

examples: \*, Trac\*, Category/\*/Index, Calendar/2009\_??\_02


A script named trac-wikireplace will automatically be installed.

To use it:

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


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


To enable the plugin:

wikireplace.* = enabled

Bugs/Feature Requests

Existing bugs and feature requests for WikiReplacePlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:wikireplaceplugin here].


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

Recent Changes

16659 by rjollos on 2017-06-10 00:55:15
TracWikiReplace 1.1.2dev: Fix wild-card matching of wiki page names

Refs #12536.

16657 by rjollos on 2017-06-09 21:40:41
TracWikiReplace 1.1.2dev: Update README

Refs #12536.

16656 by rjollos on 2017-06-09 21:31:36
TracWikiReplace 1.1.2dev: Replace script with a TracAdmin command

Fixes #12536.



Author: miezuit

Attachments (1)

Download all attachments as: .zip