r36726 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36725‎ | r36726 | r36727 >
Date:11:33, 27 June 2008
Author:werdna
Status:old
Tags:
Comment:
Add specialratio to modifiers
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -40,7 +40,7 @@
4141 }
4242
4343 public static function checkConditions( $conds, $vars ) {
44 - $modifierWords = array( 'norm', 'supernorm', 'lcase', 'length' );
 44+ $modifierWords = array( 'norm', 'supernorm', 'lcase', 'length', 'specialratio' );
4545 $operatorWords = array( 'eq', 'neq', 'gt', 'lt', 'regex', 'contains' );
4646 $validJoinConditions = array( '!', '|', '&' );
4747

Status & tagging log