From 41dcf1d49597429dce491e5e1648b78ca73b1d84 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 2 Feb 2011 22:31:48 +0000 Subject: [PATCH] Followup r67094, factor out code duplication in HistoryPage::getStartBody() --- includes/HistoryPage.php | 51 +++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index fed09ae1d1..4c15d7f603 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -401,44 +401,35 @@ class HistoryPager extends ReverseChronologicalPager { ) . "\n"; if ( $wgUser->isAllowed( 'deleterevision' ) ) { - $this->preventClickjacking(); - $float = $wgContLang->alignEnd(); - # Note bug #20966,