MediaWiki  1.33.0
README
Go to the documentation of this file.
1 Replace Text Extension
2 
3  Version 1.4.1
4  Yaron Koren, Niklas Laxström and others
5 
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.
9 
10 == Overview ==
11 
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.
17 
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.
21 
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'".
25 
26 For more information, see the extension homepage at:
27 https://www.mediawiki.org/wiki/Extension:Replace_Text
28 
29 == Requirements ==
30 
31 This version of the Replace Text extension requires MediaWiki 1.23 or higher.
32 
33 == Installation ==
34 
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:
38 
39  wfLoadExtension( 'ReplaceText' );
40  require_once( "$IP/extensions/ReplaceText/ReplaceText.php" );
41 
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:
45 
46  $wgGroupPermissions['sysop']['replacetext'] = true;
47 
48 == Contact ==
49 
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
52 yaron57@gmail.com.