Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php |
— | — | @@ -59,6 +59,9 @@ |
60 | 60 | 'norm(string)' => 'norm', |
61 | 61 | 'count(needle,haystack)' => 'count', |
62 | 62 | 'rcount(needle,haystack)' => 'rcount', |
| 63 | + 'rmwhitespace(text)' => 'rmwhitespace', |
| 64 | + 'rmspecials(text)' => 'rmspecials', |
| 65 | + 'ip_in_range(ip, range)' => 'ip_in_range', |
63 | 66 | ), |
64 | 67 | 'vars' => array( |
65 | 68 | 'accountname' => 'accountname', |
Index: trunk/extensions/AbuseFilter/AbuseFilter.i18n.php |
— | — | @@ -240,6 +240,9 @@ |
241 | 241 | 'abusefilter-edit-builder-funcs-norm' => 'Normalise (norm)', |
242 | 242 | 'abusefilter-edit-builder-funcs-count' => 'Number of times string X appears in string Y (count)', |
243 | 243 | 'abusefilter-edit-builder-funcs-rcount' => 'Number of times regex X appears in string Y (rcount)', |
| 244 | + 'abusefilter-edit-builder-funcs-rmwhitespace' => 'Remove whitespace', |
| 245 | + 'abusefilter-edit-builder-funcs-rmspecials' => 'Remove special characters', |
| 246 | + 'abusefilter-edit-builder-funcs-ip_in_range' => 'Is IP in range?', |
244 | 247 | 'abusefilter-edit-builder-group-vars' => 'Variables', |
245 | 248 | 'abusefilter-edit-builder-vars-accountname' => 'Account name (on account creation)', |
246 | 249 | 'abusefilter-edit-builder-vars-action' => 'Action', |