A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:MassEditRegex below:

Extension:MassEditRegex - MediaWiki

The MassEditRegex extension allows administrators to perform a single edit across multiple pages in one step by running a regular expression over the content of each page. This is well suited to performing simple edits such as renaming a template, adding pages to a category, or correcting typos (all of which can be done in the same edit operation by supplying multiple regular expressions.)

Once the extension has been installed and permission masseditregex to use MassEditRegex has been given, go to "Special:MassEditRegex" and fill out the edit form. Familiarity with regular expressions is required to use this extension.

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 your "LocalSettings.php" file right after the lines added in step (3) of the installation process:

$wgGroupPermissions['masseditregexeditor']['masseditregex'] = true;

Alternatively, you may grant this permission to an existing user group, e.g., "sysop" by adding the following line:

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

Adding content to the top of the page:

Server-side execution is the default as it (should) be faster.

However, editing large numbers of pages will cause server timeouts due to PHP limits on script execution time. To work around this (and perhaps to get better feedback on progress), you can tick "execute in browser" to have the job tracking done on the client side. This should mean timeouts are no longer a problem.

Page not found

In (at least) MediaWiki 1.31 and later, when the regex you provide is invalid, it will falsely indicate that all of the pages you selected for replacement are not found.

Replacement in certain namespaces

If you would like to replace text only in certain namespaces, e.g., "File" and enter this with the page prefix option, you will get the following note: "Error: The MediaWiki API returned the error code invalidtitle: Bad title "File:"."

This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4