From 342e086a2f970e322d16f394a751aaa173f08d49 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 25 Mar 2009 18:32:49 +0000 Subject: [PATCH] Don't filter log if there are a lot of relevant items --- includes/specials/SpecialRevisiondelete.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 63c050b6c5..e92fd648d0 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -143,6 +143,8 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { $ids = $this->logids; break; } + // Just get the whole log if there are a lot if items + if( $ids > 20 ) return null; // Digit chars only foreach( $ids as $id ) { if( preg_match( '/^\d+$/', $id, $m ) ) { -- 2.20.1