From: Robin Pepermans Date: Sat, 25 Jun 2011 12:28:42 +0000 (+0000) Subject: Correct alignment for RevisionDelete button X-Git-Tag: 1.31.0-rc.0~29286 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=62d313ab51ac011cf7641aba709bd28a2634ae7b;p=lhc%2Fweb%2Fwiklou.git Correct alignment for RevisionDelete button --- 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,