4 Yaron Koren, Niklas Laxström and others
6 This is free software licenced under the GNU General Public Licence. Please
7 see http://www.gnu.org/copyleft/gpl.html for further details, including the
8 full text and terms of the licence.
12 Replace Text is an extension to MediaWiki that creates a new special page,
13 Special:ReplaceText, available to anyone who has the 'replacetext'
14 privilege, that does a text find-and-replace on all pages in the wiki,
15 selectable by namespace. Both the contents of pages and their titles can be
16 modified. The search is case-sensitive.
18 Since the replacement is not undoable, if the replacement string is
19 blank or a string that is already contained in the wiki, the 'ReplaceText'
20 page prompts the user to confirm the replacement before it is performed.
22 Each replacement shows up as a wiki edit, with the administrator who
23 performed the replacement appearing as the user and an edit summary that
24 looks like "Text replacement: 'search string' to 'replacement string'".
26 For more information, see the extension homepage at:
27 http://www.mediawiki.org/wiki/Extension:Replace_Text
31 This version of the Replace Text extension requires MediaWiki 1.23 or higher.
35 To install the extension, place the entire 'ReplaceText' directory
36 within your MediaWiki 'extensions' directory, then add either of the
37 following lines to your 'LocalSettings.php' file:
39 wfLoadExtension( 'ReplaceText' );
40 require_once( "$IP/extensions/ReplaceText/ReplaceText.php" );
42 In order to perform replacements, you must have the 'replacetext' permssion;
43 if you are an administrator on your wiki, the easiest way to do this is to
44 also add the following line:
46 $wgGroupPermissions['sysop']['replacetext'] = true;
50 Comments, questions, suggestions and bug reports are welcome, and can
51 be placed on the Talk page for the extension, or sent to Yaron at