Index: trunk/phase3/skins/common/search.css |
— | — | @@ -1,14 +0,0 @@ |
2 | | -/** |
3 | | - * Fixes sister projects box moving down the extract |
4 | | - * of the first result (bug #16886). |
5 | | - * It only happens when the window is small and |
6 | | - * This changes slightly the layout for big screens |
7 | | - * where there was space for the extracts and the |
8 | | - * sister projects and thus it showed like in any |
9 | | - * other browser. |
10 | | - * |
11 | | - * This will only affect IE 7 and lower |
12 | | - */ |
13 | | -.searchresult { |
14 | | - display: inline !ie; |
15 | | -} |
Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -407,7 +407,6 @@ |
408 | 408 | $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'searchresults-title', $term ) ) ); |
409 | 409 | } |
410 | 410 | // add javascript specific to special:search |
411 | | - $wgOut->addModules( 'mediawiki.legacy.search' ); |
412 | 411 | $wgOut->addModules( 'mediawiki.special.search' ); |
413 | 412 | } |
414 | 413 | |
Index: trunk/phase3/resources/Resources.php |
— | — | @@ -535,6 +535,7 @@ |
536 | 536 | ), |
537 | 537 | 'mediawiki.special.search' => array( |
538 | 538 | 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js', |
| 539 | + 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css', |
539 | 540 | ), |
540 | 541 | 'mediawiki.special.block' => array( |
541 | 542 | 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js', |
— | — | @@ -669,13 +670,6 @@ |
670 | 671 | 'jquery.byteLimit', |
671 | 672 | ), |
672 | 673 | ), |
673 | | - 'mediawiki.legacy.search' => array( |
674 | | - 'scripts' => 'common/search.js', |
675 | | - 'remoteBasePath' => $GLOBALS['wgStylePath'], |
676 | | - 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
677 | | - 'styles' => 'common/search.css', |
678 | | - 'dependencies' => 'mediawiki.legacy.wikibits', |
679 | | - ), |
680 | 674 | 'mediawiki.legacy.shared' => array( |
681 | 675 | 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ), |
682 | 676 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.search.css |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +/** |
| 3 | + * Fixes sister projects box moving down the extract |
| 4 | + * of the first result (bug #16886). |
| 5 | + * It only happens when the window is small and |
| 6 | + * This changes slightly the layout for big screens |
| 7 | + * where there was space for the extracts and the |
| 8 | + * sister projects and thus it showed like in any |
| 9 | + * other browser. |
| 10 | + * |
| 11 | + * This will only affect IE 7 and lower |
| 12 | + */ |
| 13 | +.searchresult { |
| 14 | + display: inline !ie; |
| 15 | +} |
Property changes on: trunk/phase3/resources/mediawiki.special/mediawiki.special.search.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 16 | + native |