Extension:MassEditRegex

This extension allows users in the Bot group to perform a single edit across multiple pages in one step, by running a regular expression over the content of each page. This is well suited to performing simple edits such as renaming a template, adding pages to a category, or correcting typos (all of which can be done in the same edit operation by supplying multiple regular expressions.)

Usage
Once the extension has been installed, go to Special:MassEditRegex and fill out the edit form (see screenshot.) You will need to be logged in as a user belonging to the Bot group for this to work. (This can be granted by Sysops through Special:User rights management.)

Features

 * Transform each page using one or more regular expressions in a single step
 * Edits appear as "bot" so they don't show up in the normal edit list (unless the user chooses to show bot edits)
 * Only users in the Bot group can perform changes

Requirements

 * MediaWiki 1.14 or newer. This is required as earlier versions did not allow extensions to edit pages via the API.  It is possible to patch MediaWiki 1.13, however upgrading to 1.14 would be easier.

Download

 * 1) Download MassEditRegex.zip and extract it into the   directory in your MediaWiki installation.
 * 2) Add the following to LocalSettings.php:

Bugs / Known Issues

 * Editing is very slow (the MediaWiki API seems to take 2-3 seconds to edit each page.)
 * Depending on your webserver's PHP config, scripts may time out after 30 seconds or less. In this case you will need to check your contributions page to see which articles have been edited and remove those from the list before performing the edit again.

To do
This is a list of things planned for the extension that aren't currently there:


 * Put a link/button/tab on category pages to edit all pages in the category
 * Persuade MW developers to speed up the edit API ;-)