Extension:MultiReplace

MultiReplace enhances parser with ability to perform (multiple) regex and/or plain string replacement function(s) on any given string. Original idea by Dantman.

Usage
This can extension is used as any other parser functions extension.

Example
  will produce: F00B4r.f0b4z

The extension automatically recognises whether the first parameter (before =) is a regular expression or not. You can use regular wiki syntax inside of the function.

Download instructions
Copy and paste the code from this page and place it in $IP/extensions/MultiReplace/MultiReplace.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following code to your LocalSettings.php: