Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -340,7 +340,7 @@ |
341 | 341 | * @return string HTML output |
342 | 342 | */ |
343 | 343 | function getStartBody() { |
344 | | - global $wgScript, $wgEnableHtmlDiff, $wgUser, $wgOut; |
| 344 | + global $wgScript, $wgEnableHtmlDiff, $wgUser, $wgOut, $wgContLang; |
345 | 345 | $this->lastRow = false; |
346 | 346 | $this->counter = 1; |
347 | 347 | $this->oldIdChecked = 0; |
— | — | @@ -352,12 +352,14 @@ |
353 | 353 | |
354 | 354 | $this->buttons = '<div>'; |
355 | 355 | if( $wgUser->isAllowed('deletedhistory') ) { |
| 356 | + $float = $wgContLang->isRTL() ? 'left' : 'right'; |
356 | 357 | $this->buttons .= Xml::element( 'button', |
357 | 358 | array( |
358 | 359 | 'type' => 'submit', |
359 | 360 | 'name' => 'action', |
360 | 361 | 'value' => 'revisiondelete', |
361 | | - 'style' => 'float: right', |
| 362 | + 'style' => "float: $float;", |
| 363 | + 'class' => 'mw-history-revisiondelete-button', |
362 | 364 | ), |
363 | 365 | wfMsg( 'showhideselectedversions' ) |
364 | 366 | ) . "\n"; |