mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 01:01:03 +00:00
be197b8c57
* https://npmjs.com/advisories/577 (CVE-2018-3721) * https://npmjs.com/advisories/745 * https://npmjs.com/advisories/782 (CVE-2018-16487) * https://npmjs.com/advisories/788 * https://npmjs.com/advisories/813 * https://npmjs.com/advisories/1065 (CVE-2019-10744) * https://npmjs.com/advisories/1523 (CVE-2019-10744) Additional changes: * Replaced "jakub-onderka" packages with "php-parallel-lint". * Committed package-lock.json (T179229) too. * Consolidated .phpcs.xml encoding to "UTF-8" (T200956). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Also sorted "composer fix" command to run phpcbf last. * Added the "composer phan" command to conveniently run phan. * Set `root: true` in .eslintrc.json (T206485). * Enable eslint caching. Change-Id: I226ec86e0b2ed01892047197f2cb7bb3f1ca9fa8 |
||
---|---|---|
i18n | ||
maintenance | ||
resources | ||
src | ||
tests/phan | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
README | ||
replaceAll.php | ||
ReplaceText.i18n.alias.php | ||
ReplaceText.php |
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: http://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 either of the following lines to your 'LocalSettings.php' file: wfLoadExtension( 'ReplaceText' ); 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.