* (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
* (bug 23473) Give description of properties on all modules
* (bug 24136) unknownerror when adding new section without summary, but forceditsummary
+* (bug 16886) Sister projects box moves down the extract of the first result in IE 7.
=== Languages updated in 1.17 ===
$wgOut->setRobotPolicy( 'noindex,nofollow' );
// add javascript specific to special:search
$wgOut->addScriptFile( 'search.js' );
+
+ // Bug #16886: Sister projects box moves down the first extract on IE7
+ $wgOut->addStyle( 'common/IE80Fixes.css', 'screen', 'IE 7' );
}
/**
}
wfProfileOut( __METHOD__ );
- return "<li>{$link} {$redirect} {$section} {$extract}\n" .
+ return "<li><div class='mw-search-result-heading'>{$link} {$redirect} {$section}</div> {$extract}\n" .
"<div class='mw-search-result-data'>{$score}{$size} - {$date}{$related}</div>" .
"</li>\n";
--- /dev/null
+/**
+ * Fixes sister projects box moving down the extract
+ * of the first result (bug #16886).
+ * It only happens when the window is small and
+ * This changes slightly the layout for big screens
+ * where there was space for the extracts and the
+ * sister projects and thus it showed like in any
+ * other browser.
+ */
+.searchresult {
+ display: inline;
+}