BulkReplace

Summary: Change the content of many pages at a time
Version:
Prerequisites:
Status: just a rough draft
Maintainer: Luigi just started the page
Discussion: BulkReplace-Talk

Questions answered by this recipe

How to make bulk changes to the content of all/many wiki pages at a time?

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.

Description

Emacs Solution

  1. Start Emacs
  2. File/Open Directory (C-x d)
  3. Mark/Mark (m) -- mark the files you want to work on
  4. Operate/Query Replace in Files (Q) -- set the string to be searched for and the one to replace.
  5. Emacs will automatically iterate through all the selected files
  6. (maybe) Done!

Alternatives/integrations about Emacs use can also be found at http://xahlee.org/emacs/find_replace_inter.html

WikiSh Solution

See WikiShExamples

Compared to Emacs:
The advantage is that you don't need command-line access. The disadvantage is you need broad read/write permissions for WikiSh and it will probably take multiple iterations in order to get around the execution timeouts inherent in PHP.

FoxTextReplace Solution

See FoxTextReplace

This also will probably take multiple iterations in order to get around the execution timeouts inherent in PHP.

Notes

There are many different ways to accomplish such a task.
Please see http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/52555

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See Also

http://www.weaverslave.ws

Contributors

Comments

See discussion at BulkReplace-Talk