Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -72,11 +72,12 @@ |
73 | 73 | $max = $this->dbr->selectField( 'user', 'max(user_id)', false, 'make_sql' ); |
74 | 74 | $condition = 'rev_user >' . (int)($max - $max / 100); |
75 | 75 | } |
76 | | - |
| 76 | + /* WTF? -- disabling |
77 | 77 | else if ( IP::isIPv6( $this->username ) ) { |
78 | 78 | # All stored IPs should be sanitized from now on, check for exact matches for reverse compatibility |
79 | 79 | $condition = '(rev_user_text=' . $this->dbr->addQuotes(IP::sanitizeIP($this->username)) . ' OR rev_user_text=' . $this->dbr->addQuotes($this->username) . ')'; |
80 | 80 | } |
| 81 | + */ |
81 | 82 | |
82 | 83 | if ( $condition == '' ) { |
83 | 84 | $condition = ' rev_user_text=' . $this->dbr->addQuotes( $this->username ); |