Github mirror of MediaWiki extension MassEditRegex - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing
Go to file
libraryupgrader d72167faea build: Updating grunt-banana-checker to 0.13.0
Change-Id: Iefb6ee4c69f98ea9499b652f26502f03e5ce34f2
2024-05-18 16:41:26 +00:00
.phan build: Add mediawiki/mediawiki-phan-config 2020-06-08 22:40:38 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-05-16 09:26:52 +02:00
includes Accessibility fixes 2024-05-13 09:37:04 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 01:34:18 +00:00
.gitignore build: Replace jsonlint with eslint 2021-02-20 20:32:16 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:55 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-17 20:33:06 +00:00
CHANGELOG Remove I18n php shim and bump version 2017-07-19 10:42:50 +02:00
CODE_OF_CONDUCT.md build: Updating npm dependencies for security issues 2018-10-11 08:34:19 +00:00
COPYING Several minor tweaks 2015-08-12 15:52:13 +02:00
Gruntfile.js build: Replace jsonlint with eslint 2021-02-20 20:32:16 +01:00
MassEditRegex.alias.php Add alias for Serbian 2019-12-25 11:57:35 +00:00
MassEditRegex.js Replace $( document ).ready( ... ) by $( ... ) 2023-04-18 07:17:29 +00:00
README Remove PHP entry point 2021-12-05 01:46:23 +01:00
composer.json build: Updating composer dependencies 2024-05-05 22:15:08 +00:00
extension.json Replace most of the more trivial Xml::… form builder methods 2024-05-08 11:04:09 +02:00
package-lock.json build: Updating grunt-banana-checker to 0.13.0 2024-05-18 16:41:26 +00:00
package.json build: Updating grunt-banana-checker to 0.13.0 2024-05-18 16:41:26 +00:00

README

## MassEditRegex

MassEditRegex is an extension to MediaWiki that allowing to use regular expressions for editing many pages
in one operation.


### Copyright
Copyright © 2009, 2013 Adam Nielsen <malvineous@shikadi.net> according to the GNU General Public License 2.0
or later (GPL-2.0-or-later). See also the "COPYING" file provided with the code.


### Compatibility

* PHP 5.3 and later
* MediaWiki 1.17 and later

See also the "CHANGELOG" file provided with the code.


### Installation

(1) Obtain the code from [GitHub](https://github.com/wikimedia/mediawiki-extensions-MassEditRegex/releases)

(2) Extract the files in a directory called `MassEditRegex` in your `extensions/` folder.

(3) Add the following code at the bottom of your "LocalSettings.php" file:
```
wfLoadExtension( 'MassEditRegex' );
```
(4) Define which user groups may use this extension by configuring it as outlined in the "Configuration" section
of this file.

(5) Go to "Special:Version" on your wiki to verify that the extension is successfully installed.

(6) Done.


### Configuration

This extension comes with an extra user right called "masseditregex" to allow fine grained control of which user groups
may use this extension. By default it is assigned to no user group. In case you would like to assign it to a user group
e.g. "masseditregexeditor", add the following code to you "LocalSettings.php" file right after the lines added in step (3)
of the installation process:

```
$wgGroupPermissions['masseditregexeditor']['masseditregex'] = true;
```
Alternatively you may grant the permission to an existing user group, e.g. "sysop" by adding the following line:

```
$wgGroupPermissions['sysop']['masseditregex'] = true;
```

### Usage
See the extensions homepage at https://www.mediawiki.org/wiki/Extension:MassEditRegex for full instructions on how to
use this extension.