mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-28 00:20:00 +00:00
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
Replace Text Extension
|
|
|
|
Version 0.1.1
|
|
Yaron Koren
|
|
|
|
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 administrators only (defined as anyone
|
|
who has 'delete' privileges on pages), that does a text find-and-replace
|
|
on all pages in the wiki, except the Talk pages and the ones in the wiki's
|
|
own project namespace. Only the contents of pages are affected, not their
|
|
titles. 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 replace: '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.8 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" );
|
|
|
|
== 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.
|