From 62d313ab51ac011cf7641aba709bd28a2634ae7b Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sat, 25 Jun 2011 12:28:42 +0000 Subject: [PATCH] Correct alignment for RevisionDelete button --- includes/HistoryPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index baff3aa791..ff91485e22 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -409,9 +409,8 @@ class HistoryPager extends ReverseChronologicalPager { } private function getRevisionButton( $name, $msg ) { - global $wgContLang; $this->preventClickjacking(); - $float = $wgContLang->alignEnd(); + $float = wfUILang()->alignEnd(); # Note bug #20966,