Document rmspecials, rmwhitespace, ip_in_range

This commit is contained in:
Andrew Garrett 2009-03-19 05:06:39 +00:00
parent b28f614390
commit 966b020e6b
2 changed files with 6 additions and 0 deletions

View file

@ -59,6 +59,9 @@ class AbuseFilter {
'norm(string)' => 'norm',
'count(needle,haystack)' => 'count',
'rcount(needle,haystack)' => 'rcount',
'rmwhitespace(text)' => 'rmwhitespace',
'rmspecials(text)' => 'rmspecials',
'ip_in_range(ip, range)' => 'ip_in_range',
),
'vars' => array(
'accountname' => 'accountname',

View file

@ -240,6 +240,9 @@ Please ask a user with permission to add restricted actions to make the change f
'abusefilter-edit-builder-funcs-norm' => 'Normalise (norm)',
'abusefilter-edit-builder-funcs-count' => 'Number of times string X appears in string Y (count)',
'abusefilter-edit-builder-funcs-rcount' => 'Number of times regex X appears in string Y (rcount)',
'abusefilter-edit-builder-funcs-rmwhitespace' => 'Remove whitespace',
'abusefilter-edit-builder-funcs-rmspecials' => 'Remove special characters',
'abusefilter-edit-builder-funcs-ip_in_range' => 'Is IP in range?',
'abusefilter-edit-builder-group-vars' => 'Variables',
'abusefilter-edit-builder-vars-accountname' => 'Account name (on account creation)',
'abusefilter-edit-builder-vars-action' => 'Action',