Index: trunk/extensions/RegexFunctions/RegexFunctions.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'name' => 'RegexFunctions', |
19 | 19 | 'author' => 'Ryan Schmidt', |
20 | 20 | 'url' => 'http://www.mediawiki.org/wiki/Extension:RegexFunctions', |
21 | | - 'version' => '1.4', |
| 21 | + 'version' => '1.4.1', |
22 | 22 | 'description' => 'Regular Expression parser functions', |
23 | 23 | 'descriptionmsg' => 'regexfunctions-desc', |
24 | 24 | ); |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | |
83 | 83 | function rsplit ( &$parser, $string = '', &$pattern = '', $piece = 0 ) { |
84 | 84 | global $wgRegexFunctionsPerPage, $wgRegexFunctionsAllowModifiers, $wgRegexFunctionsLimit, $wgRegexFunctionsDisable; |
85 | | - if(in_array('rmatch', $wgRegexFunctionsDisable)) |
| 85 | + if(in_array('rsplit', $wgRegexFunctionsDisable)) |
86 | 86 | return; |
87 | 87 | $this->num++; |
88 | 88 | if($this->num > $wgRegexFunctionsPerPage) |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | |
104 | 104 | function rreplace ( &$parser, $string = '', &$pattern = '', &$replace = '' ) { |
105 | 105 | global $wgRegexFunctionsPerPage, $wgRegexFunctionsAllowModifiers, $wgRegexFunctionsAllowE, $wgRegexFunctionsLimit, $wgRegexFunctionsDisable; |
106 | | - if(in_array('rmatch', $wgRegexFunctionsDisable)) |
| 106 | + if(in_array('rreplace', $wgRegexFunctionsDisable)) |
107 | 107 | return; |
108 | 108 | $this->num++; |
109 | 109 | if($this->num > $wgRegexFunctionsPerPage) |