http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90767
Revision: 90767
Author: robin
Date: 2011-06-25 12:28:42 +0000 (Sat, 25 Jun 2011)
Log Message:
-----------
Correct alignment for RevisionDelete button
Modified Paths:
--------------
trunk/phase3/includes/HistoryPage.php
Modified: trunk/phase3/includes/HistoryPage.php
===================================================================
--- trunk/phase3/includes/HistoryPage.php 2011-06-25 12:18:44 UTC (rev
90766)
+++ trunk/phase3/includes/HistoryPage.php 2011-06-25 12:28:42 UTC (rev
90767)
@@ -409,9 +409,8 @@
}
private function getRevisionButton( $name, $msg ) {
- global $wgContLang;
$this->preventClickjacking();
- $float = $wgContLang->alignEnd();
+ $float = wfUILang()->alignEnd();
# Note bug #20966, <button> is non-standard in IE<8
$element = Html::element( 'button',
array(
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs