Bug: T140951
Change-Id: I41b135fd14011045fc8c9584d52d0b853c2ef49e
if ( $textMatches && !$textStatus ) {
// output appropriate heading
if ( $numTextMatches > 0 && $numTitleMatches > 0 ) {
if ( $textMatches && !$textStatus ) {
// output appropriate heading
if ( $numTextMatches > 0 && $numTitleMatches > 0 ) {
- $out->addHTML( '<div class="visualClear"></div>' );
+ $out->addHTML( '<div class="mw-search-visualclear"></div>' );
// if no title matches the heading is redundant
$out->wrapWikiMsg( "==$1==\n", 'textmatches' );
}
// if no title matches the heading is redundant
$out->wrapWikiMsg( "==$1==\n", 'textmatches' );
}
- $out->addHTML( '<div class="visualClear"></div>' );
+ $out->addHTML( '<div class="mw-search-visualclear"></div>' );
if ( $prevnext ) {
$out->addHTML( "<p class='mw-search-pager-bottom'>{$prevnext}</p>\n" );
if ( $prevnext ) {
$out->addHTML( "<p class='mw-search-pager-bottom'>{$prevnext}</p>\n" );
protected function interwikiHeader( $interwiki, $interwikiResult ) {
// TODO: we need to figure out how to name wikis correctly
$wikiMsg = $this->msg( 'search-interwiki-results-' . $interwiki )->parse();
protected function interwikiHeader( $interwiki, $interwikiResult ) {
// TODO: we need to figure out how to name wikis correctly
$wikiMsg = $this->msg( 'search-interwiki-results-' . $interwiki )->parse();
- return "<p class=\"mw-search-interwiki-header\">\n$wikiMsg</p>";
+ return "<p class=\"mw-search-interwiki-header mw-search-visualclear\">\n$wikiMsg</p>";
* @return string
*/
protected function searchProfileTabs( $term ) {
* @return string
*/
protected function searchProfileTabs( $term ) {
- $out = Html::element( 'div', [ 'class' => 'visualClear' ] ) .
+ $out = Html::element( 'div', [ 'class' => 'mw-search-visualclear' ] ) .
Xml::openElement( 'div', [ 'class' => 'mw-search-profile-tabs' ] );
$bareterm = $term;
Xml::openElement( 'div', [ 'class' => 'mw-search-profile-tabs' ] );
$bareterm = $term;
margin-left: 0;
float: left;
}
margin-left: 0;
float: left;
}
-.mw-search-interwiki-header {
+.mw-search-visualclear {
clear: both;
}
.mw-search-results li {
clear: both;
}
.mw-search-results li {