r57429 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57428‎ | r57429 | r57430 >
Date:18:54, 6 October 2009
Author:brion
Status:ok
Tags:
Comment:
Cleanup for r57288: use $wgContLang->alignEnd() instead of the isRtl() ? 'left' : 'right' dance
Modified paths:
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HistoryPage.php
@@ -353,7 +353,7 @@
354354
355355 $this->buttons = '<div>';
356356 if( $wgUser->isAllowed('deletedhistory') ) {
357 - $float = $wgContLang->isRTL() ? 'left' : 'right';
 357+ $float = $wgContLang->alignEnd();
358358 # Note bug #20966, <button> is non-standard in IE<8
359359 $this->buttons .= Xml::element( 'button',
360360 array(

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57288* Bug 20944: Align revision delete button left for RTL wikis....raymond12:18, 2 October 2009

Status & tagging log