Index: trunk/extensions/RegexFunctions/RegexFunctions.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * @file |
7 | 7 | * @ingroup Extensions |
8 | 8 | * @author Ryan Schmidt |
9 | | - * @version 1.4.1 |
| 9 | + * @version 1.4.2 |
10 | 10 | * @license http://en.wikipedia.org/wiki/Public_domain Public domain |
11 | 11 | * @link http://www.mediawiki.org/wiki/Extension:RegexFunctions Documentation |
12 | 12 | */ |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | 'path' => __FILE__, |
22 | 22 | 'name' => 'RegexFunctions', |
23 | 23 | 'author' => 'Ryan Schmidt', |
24 | | - 'version' => '1.4.1', |
| 24 | + 'version' => '1.4.2', |
25 | 25 | 'descriptionmsg' => 'regexfunctions-desc', |
26 | 26 | 'url' => 'https://www.mediawiki.org/wiki/Extension:RegexFunctions', |
27 | 27 | ); |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | return $res[$p]; |
148 | 148 | } |
149 | 149 | |
150 | | - public static function rreplace( &$parser, $string = '', $pattern = '', &$replace = '' ) { |
| 150 | + public static function rreplace( &$parser, $string = '', $pattern = '', $replace = '' ) { |
151 | 151 | global $wgRegexFunctionsPerPage, $wgRegexFunctionsAllowModifiers, $wgRegexFunctionsAllowE, $wgRegexFunctionsLimit, $wgRegexFunctionsDisable; |
152 | 152 | if( in_array( 'rreplace', $wgRegexFunctionsDisable ) ) { |
153 | 153 | return; |