Cleanup for r57288: use $wgContLang->alignEnd() instead of the isRtl() ? 'left' ...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 6 Oct 2009 18:54:47 +0000 (18:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 6 Oct 2009 18:54:47 +0000 (18:54 +0000)
includes/HistoryPage.php

index b17688a..0e448e8 100644 (file)
@@ -353,7 +353,7 @@ class HistoryPager extends ReverseChronologicalPager {
 
                $this->buttons = '<div>';
                if( $wgUser->isAllowed('deletedhistory') ) {
-                       $float = $wgContLang->isRTL() ? 'left' : 'right';
+                       $float = $wgContLang->alignEnd();
                        # Note bug #20966, <button> is non-standard in IE<8
                        $this->buttons .= Xml::element( 'button',
                                array(