Go to file
Translation updater bot 46d3364ce6 Localisation updates from https://translatewiki.net.
Change-Id: I532b6628ae930d8f066666bf31b08c135d5251c1
2023-11-27 07:56:54 +01:00
.phan Upgrade ReplaceText extension to use newer phan 2019-03-10 14:19:59 -07:00
i18n Localisation updates from https://translatewiki.net. 2023-11-27 07:56:54 +01:00
maintenance Use $this->output() rather than echo 2020-03-31 22:26:49 +00:00
resources Avoid using core module 'mediawiki.special.search' 2018-12-22 20:32:33 +01:00
src [ReplaceText] Fix "Error: Class 'MediaWikiServices' not found" 2021-10-04 15:10:55 +00:00
.eslintrc.json Avoid using core module 'mediawiki.special.search' 2018-12-22 20:32:33 +01:00
.gitignore build: Updating dependencies 2019-08-03 04:41:58 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:03:28 -07:00
.phpcs.xml build: Updating dependencies 2022-04-15 21:35:18 +00:00
.stylelintrc.json Avoid using core module 'mediawiki.special.search' 2018-12-22 20:32:33 +01:00
composer.json build: Updating dependencies 2022-04-15 21:35:18 +00:00
COPYING Provide tiny tweaks 2016-03-10 14:27:51 +01:00
extension.json Fix version number 2021-12-15 17:23:51 +00:00
Gruntfile.js build: Updating npm dependencies 2020-01-08 04:58:45 +00:00
package-lock.json build: Updating json5 to 2.2.2 2022-12-29 12:16:14 +00:00
package.json build: Updating npm dependencies 2022-05-24 00:00:14 +00:00
README Follow-up 45e7d3a7: Turn ReplaceText.php into a static registration shim 2020-06-18 21:14:12 +00:00
replaceAll.php Move replaceAll.php into maintenance/ 2018-05-03 13:08:15 -07:00
ReplaceText.i18n.alias.php Add aliases for Serbian Latin script 2019-12-26 00:33:31 +01:00
ReplaceText.php Follow-up 45e7d3a7: Turn ReplaceText.php into a static registration shim 2020-06-18 21:14:12 +00:00

Replace Text Extension

        Version 1.4.1
        Yaron Koren, Niklas Laxström and others

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:
https://www.mediawiki.org/wiki/Extension:Replace_Text

== Requirements ==

This version of the Replace Text extension requires MediaWiki 1.23 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:

     wfLoadExtension( 'ReplaceText' );

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.