Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -143,6 +143,8 @@ |
144 | 144 | $ids = $this->logids; |
145 | 145 | break; |
146 | 146 | } |
| 147 | + // Just get the whole log if there are a lot if items |
| 148 | + if( $ids > 20 ) return null; |
147 | 149 | // Digit chars only |
148 | 150 | foreach( $ids as $id ) { |
149 | 151 | if( preg_match( '/^\d+$/', $id, $m ) ) { |