From 896521f1f5f17653cc1362b32468f4b5c030120e Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Wed, 7 Sep 2011 05:23:16 +0000 Subject: [PATCH] Per Krinke on r91772, do not use general float/align classes. I removed them in shared.css because they are recent and not widely used yet. (I removed the vertical-align:bottom; because it is added by css for .collection-creatorbox-row img) --- includes/HistoryPage.php | 2 +- includes/specials/SpecialFileDuplicateSearch.php | 2 +- skins/common/shared.css | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index a5508ce63e..dd5ecd4351 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -420,7 +420,7 @@ class HistoryPager extends ReverseChronologicalPager { 'type' => 'submit', 'name' => $name, 'value' => '1', - 'class' => "mw-history-$name-button mw-float-end", + 'class' => "mw-history-$name-button", ), wfMsg( $msg ) ) . "\n"; diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index 67f8a2dcb1..0a7a6efb11 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -130,7 +130,7 @@ class FileDuplicateSearchPage extends QueryPage { if ( $img ) { $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) ); if( $thumb ) { - $out->addHTML( '
' . + $out->addHTML( '
' . $thumb->toHtml( array( 'desc-link' => false ) ) . '
' . wfMsgExt( 'fileduplicatesearch-info', array( 'parse' ), $this->getLang()->formatNum( $img->getWidth() ), diff --git a/skins/common/shared.css b/skins/common/shared.css index 4194aba387..13eef3a34b 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -52,11 +52,6 @@ input[dir="rtl"] { direction: rtl; } -.mw-float-start { float: left; } -.mw-float-end { float: right; } -.mw-align-start { text-align: left; } -.mw-align-end { text-align: right; } - /* The scripts of these languages are very hard to read with underlines */ [lang="ar"] a, [lang="ckb"] a, @@ -406,6 +401,10 @@ table.os-suggest-results { border: 1px dashed #aaa; } +.mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon { + float: right; +} + /** Generic minor/bot/newpage styling (recent changes) */ .newpage, .minor, -- 2.20.1