r48569 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48568‎ | r48569 | r48570 >
Date:05:06, 19 March 2009
Author:werdna
Status:ok
Tags:
Comment:
Document rmspecials, rmwhitespace, ip_in_range
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)
  • /trunk/extensions/AbuseFilter/AbuseFilter.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -59,6 +59,9 @@
6060 'norm(string)' => 'norm',
6161 'count(needle,haystack)' => 'count',
6262 'rcount(needle,haystack)' => 'rcount',
 63+ 'rmwhitespace(text)' => 'rmwhitespace',
 64+ 'rmspecials(text)' => 'rmspecials',
 65+ 'ip_in_range(ip, range)' => 'ip_in_range',
6366 ),
6467 'vars' => array(
6568 'accountname' => 'accountname',
Index: trunk/extensions/AbuseFilter/AbuseFilter.i18n.php
@@ -240,6 +240,9 @@
241241 'abusefilter-edit-builder-funcs-norm' => 'Normalise (norm)',
242242 'abusefilter-edit-builder-funcs-count' => 'Number of times string X appears in string Y (count)',
243243 '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?',
244247 'abusefilter-edit-builder-group-vars' => 'Variables',
245248 'abusefilter-edit-builder-vars-accountname' => 'Account name (on account creation)',
246249 'abusefilter-edit-builder-vars-action' => 'Action',

Status & tagging log