Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -409,9 +409,8 @@ |
410 | 410 | } |
411 | 411 | |
412 | 412 | private function getRevisionButton( $name, $msg ) { |
413 | | - global $wgContLang; |
414 | 413 | $this->preventClickjacking(); |
415 | | - $float = $wgContLang->alignEnd(); |
| 414 | + $float = wfUILang()->alignEnd(); |
416 | 415 | # Note bug #20966, <button> is non-standard in IE<8 |
417 | 416 | $element = Html::element( 'button', |
418 | 417 | array( |