Index: trunk/phase3/skins/common/IE70Fixes.css |
— | — | @@ -0,0 +1,12 @@ |
| 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 | +.searchresult { |
| 12 | + display: inline; |
| 13 | +} |
Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -368,6 +368,9 @@ |
369 | 369 | $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
370 | 370 | // add javascript specific to special:search |
371 | 371 | $wgOut->addScriptFile( 'search.js' ); |
| 372 | + |
| 373 | + // Bug #16886: Sister projects box moves down the first extract on IE7 |
| 374 | + $wgOut->addStyle( 'common/IE80Fixes.css', 'screen', 'IE 7' ); |
372 | 375 | } |
373 | 376 | |
374 | 377 | /** |
— | — | @@ -608,7 +611,7 @@ |
609 | 612 | } |
610 | 613 | |
611 | 614 | wfProfileOut( __METHOD__ ); |
612 | | - return "<li>{$link} {$redirect} {$section} {$extract}\n" . |
| 615 | + return "<li><div class='mw-search-result-heading'>{$link} {$redirect} {$section}</div> {$extract}\n" . |
613 | 616 | "<div class='mw-search-result-data'>{$score}{$size} - {$date}{$related}</div>" . |
614 | 617 | "</li>\n"; |
615 | 618 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -250,6 +250,7 @@ |
251 | 251 | * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied |
252 | 252 | * (bug 23473) Give description of properties on all modules |
253 | 253 | * (bug 24136) unknownerror when adding new section without summary, but forceditsummary |
| 254 | +* (bug 16886) Sister projects box moves down the extract of the first result in IE 7. |
254 | 255 | |
255 | 256 | === Languages updated in 1.17 === |
256 | 257 | |