Go to file
Cindy Cicalese 7676bf8b19 Added CSRF check.
Bug: T191546
Change-Id: Ib6a951152db222b6289b9b8d09608dfe75ed2de2
2018-04-11 20:23:51 +00:00
i18n Localisation updates from https://translatewiki.net. 2016-02-17 22:51:17 +01:00
.gitignore
.gitreview Creating new REL1_27 branch 2016-05-04 16:46:39 -07:00
COPYING Provide tiny tweaks 2016-03-10 14:27:51 +01:00
extension.json Provide tiny tweaks 2016-03-10 14:27:51 +01:00
README Version 1.1.1 2015-07-30 21:17:15 +04:00
replaceAll.php Fixed inclusion of Maintenance.php 2015-04-30 18:53:45 +04:00
ReplaceText.alias.php Localisation updates from https://translatewiki.net. 2015-05-12 22:25:38 +02:00
ReplaceText.hooks.php New file, ReplaceText.hooks.php 2015-08-13 00:52:08 +04:00
ReplaceText.i18n.php Update i18n shim 2014-04-22 13:39:55 +00:00
ReplaceText.js Maintenance for ReplaceText extension. 2012-11-07 07:37:05 +00:00
ReplaceText.php Provide tiny tweaks 2016-03-10 14:27:51 +01:00
ReplaceTextJob.php Added initialization of variable - fix for bug 68363 2014-07-23 04:31:36 +04:00
ReplaceTextSearch.php Fix undifined in CategoryCondition and prefixCondition 2015-05-12 08:52:42 +01:00
SpecialReplaceText.php Added CSRF check. 2018-04-11 20:23:51 +00:00

Replace Text Extension

        Version 1.1.1
        Yaron Koren and Niklas Laxström

This is free software licenced under the GNU General Public Licence. Please
see http://www.gnu.org/copyleft/gpl.html for further details, including the
full text and terms of the licence.

== Overview ==

Replace Text is an extension to MediaWiki that creates a new special page,
Special:ReplaceText, available to anyone who has the 'replacetext'
privilege, that does a text find-and-replace on all pages in the wiki,
selectable by namespace. Both the contents of pages and their titles can be
modified. The search is case-sensitive.

Since the replacement is not undoable, if the replacement string is
blank or a string that is already contained in the wiki, the 'ReplaceText'
page prompts the user to confirm the replacement before it is performed.

Each replacement shows up as a wiki edit, with the administrator who
performed the replacement appearing as the user and an edit summary that
looks like "Text replacement: 'search string' to 'replacement string'".

For more information, see the extension homepage at:
http://www.mediawiki.org/wiki/Extension:Replace_Text

== Requirements ==

This version of the Replace Text extension requires MediaWiki 1.18 or higher.

== Installation ==

To install the extension, place the entire 'ReplaceText' directory
within your MediaWiki 'extensions' directory, then add the following
line to your 'LocalSettings.php' file:

     require_once( "$IP/extensions/ReplaceText/ReplaceText.php" );

In order to perform replacements, you must have the 'replacetext' permssion;
if you are an administrator on your wiki, the easiest way to do this is to
also add the following line:

     $wgGroupPermissions['sysop']['replacetext'] = true;

== Contact ==

Comments, questions, suggestions and bug reports are welcome, and can
be placed on the Talk page for the extension, or sent to Yaron at
yaron57@gmail.com.