From 478f45779f10450766b544eacce3f70b7e554cdf Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 11 Dec 2009 06:57:37 +0000 Subject: [PATCH] (bug 20928) Added tri-state form for RevisionDelete when there are multiple items. --- includes/specials/SpecialRevisiondelete.php | 138 +++++++++++++++----- languages/messages/MessagesEn.php | 7 +- 2 files changed, 111 insertions(+), 34 deletions(-) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index cc2a631d7c..f49e7458d0 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -181,6 +181,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { } else { $this->showForm(); } + $qc = $this->getLogQueryCond(); # Show relevant lines from the deletion log $wgOut->addHTML( "

" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "

\n" ); @@ -330,7 +331,6 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { $this->targetObj->getPrefixedText(), count( $this->ids ) ); } - $bitfields = 0; $wgOut->addHTML( "