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